Problem:
When i access non existing route it shows 404 page except site.com/admin
, it shows blank page.
my web.php
file,
Route::group(['prefix' => 'admin', 'middleware'=>'auth:admin'], function () {
Route::POST('readnotification','NotificationController@readnotification')->name('readnotification');
Route::GET('/home','AdminController@index')->name('admin.dashboard');
....
Full web.php file is here https://pastebin.com/embed_js/pZNmPih8
Tried:
1) I have seen php artisan route:list
, /admin
route is not exist.
2) I removed all routes, and accessed a non existing route then it shows 404 page, except site.com/admin
, as usual it shows blank page.
3) Even i emptied the web.php file, but still /admin is blank and other urls going to 404
I really don't know whats happening.