This commit is contained in:
Lance Pioch 2022-10-29 03:48:15 -04:00
parent ce0d6b9634
commit eb11ef5729

View file

@ -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 () => []);
}
}