feat: add ping route

This commit is contained in:
amir-ys
2025-02-19 00:08:12 +03:30
parent 82b33e8a8f
commit da9f6dbee4
+7
View File
@@ -77,3 +77,10 @@ Route::post('Package/QRCode/{Package}', 'BarCodeController@generatePackageQRCode
Route::any('{all}', function () {
return view('welcome');
})->where(['all' => '.*']);
Route::any('ping', function () {
return response()->json([
'message' => 'pong'
]);
});