Laravel Add Condition in Routes
Route::any('{page}', 'PageController@pageFunc')->where('page', '^(?!api).*$');
click for more laravel codes, read in detail about laravel Routes
Laravel Add Condition in Routes
Route::any('{page}', 'PageController@pageFunc')->where('page', '^(?!api).*$');
click for more laravel codes, read in detail about laravel Routes