From eb11ef57295ba5763767c576e1e12a5852c671ac Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Sat, 29 Oct 2022 03:48:15 -0400 Subject: [PATCH] Revert --- app/Providers/RouteServiceProvider.php | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) 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 () => []); } }