Fixes #3 add missing abort 404 on route fallback
This commit is contained in:
parent
c43f5220e1
commit
f5e5bc2362
1 changed files with 1 additions and 0 deletions
|
|
@ -104,4 +104,5 @@ Route::fallback(function () {
|
|||
if (request()->getHost() === config('app.egg_domain')) {
|
||||
return redirect(config('app.url'));
|
||||
}
|
||||
abort(404);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue