Revert
This commit is contained in:
parent
ce0d6b9634
commit
eb11ef5729
1 changed files with 10 additions and 13 deletions
|
@ -118,19 +118,16 @@ class RouteServiceProvider extends ServiceProvider
|
||||||
return;
|
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
|
// Simulate Successful Server Creation
|
||||||
Route::get('/api/system', fn () => [
|
Route::post('/api/servers', 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 () => []);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue