diff --git a/resources/scripts/components/admin/servers/ServerStartupContainer.tsx b/resources/scripts/components/admin/servers/ServerStartupContainer.tsx index 1306d32cf..5bc05fc00 100644 --- a/resources/scripts/components/admin/servers/ServerStartupContainer.tsx +++ b/resources/scripts/components/admin/servers/ServerStartupContainer.tsx @@ -99,10 +99,6 @@ function ServerVariableContainer ({ variable, defaultValue }: { variable: EggVar useEffect(() => { setFieldValue(key, defaultValue); - - // return () => { - // setFieldValue(key, undefined); - // }; }, [ variable, defaultValue ]); return ( diff --git a/routes/api-application.php b/routes/api-application.php index 1b8f230a2..85fcf11d0 100644 --- a/routes/api-application.php +++ b/routes/api-application.php @@ -165,7 +165,6 @@ Route::group(['prefix' => '/servers'], function () { Route::get('/external/{external_id}', [\Pterodactyl\Http\Controllers\Api\Application\Servers\ExternalServerController::class, 'index']); Route::patch('/{server}', [\Pterodactyl\Http\Controllers\Api\Application\Servers\ServerController::class, 'update']); -// Route::patch('/{server}/build', [\Pterodactyl\Http\Controllers\Api\Application\Servers\ServerDetailsController::class, 'build']); Route::patch('/{server}/startup', [\Pterodactyl\Http\Controllers\Api\Application\Servers\StartupController::class, 'index']); Route::post('/', [\Pterodactyl\Http\Controllers\Api\Application\Servers\ServerController::class, 'store']);