mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Add fallback routes to web and api
This commit is contained in:
@@ -34,3 +34,7 @@ Route::group(['prefix' => 'v2', 'namespace' => 'Api', 'middleware' => ['auth:api
|
||||
Route::get('details', 'ApiV2Controller@details');
|
||||
Route::post('details', 'ApiV2Controller@details');
|
||||
});
|
||||
|
||||
Route::fallback(function(){
|
||||
return response()->json(['message' => 'Not Found!'], 404);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user