mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 01:11:05 +03:30
feat: add ping route
This commit is contained in:
@@ -77,3 +77,10 @@ Route::post('Package/QRCode/{Package}', 'BarCodeController@generatePackageQRCode
|
|||||||
Route::any('{all}', function () {
|
Route::any('{all}', function () {
|
||||||
return view('welcome');
|
return view('welcome');
|
||||||
})->where(['all' => '.*']);
|
})->where(['all' => '.*']);
|
||||||
|
|
||||||
|
|
||||||
|
Route::any('ping', function () {
|
||||||
|
return response()->json([
|
||||||
|
'message' => 'pong'
|
||||||
|
]);
|
||||||
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user