diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index e00a9c355..8c39a1c26 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -118,19 +118,16 @@ class RouteServiceProvider extends ServiceProvider return; } - Route::middleware('cors')->group(function () { + // Simulate Node Ping + Route::get('/api/system', fn () => [ + 'version' => '1.7.0', + 'kernel_version' => '5.4.0-126-generic', + 'architecture' => 'amd64', + 'os' => 'linux', + 'cpu_count' => 2, + ]); - // Simulate Node Ping - Route::get('/api/system', fn () => [ - 'version' => '1.7.0', - 'kernel_version' => '5.4.0-126-generic', - 'architecture' => 'amd64', - 'os' => 'linux', - 'cpu_count' => 2, - ]); - - // Simulate Successful Server Creation - Route::post('/api/servers', fn () => []); - }); + // Simulate Successful Server Creation + Route::post('/api/servers', fn () => []); } }