forked from Alex/Pterodactyl-Panel
remove un-needed code
This commit is contained in:
parent
df895f4a9f
commit
98da1f13a1
@ -99,10 +99,6 @@ function ServerVariableContainer ({ variable, defaultValue }: { variable: EggVar
|
||||
|
||||
useEffect(() => {
|
||||
setFieldValue(key, defaultValue);
|
||||
|
||||
// return () => {
|
||||
// setFieldValue(key, undefined);
|
||||
// };
|
||||
}, [ variable, defaultValue ]);
|
||||
|
||||
return (
|
||||
|
@ -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']);
|
||||
|
Loading…
Reference in New Issue
Block a user