This commit is contained in:
pbao9
2026-05-12 13:50:53 +07:00
parent 96778e7bed
commit 2d4f0fd4b2
6 changed files with 150 additions and 84 deletions
+2 -1
View File
@@ -175,8 +175,9 @@ Route::any('{any}', function () {
return response()->json(
[
'error' => true,
'status' => 404,
'message' => 'API Route not found',
],
404,
);
})->where('any', '.*');
})->where('any', '^v1/.*');