Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel route where not contain

Route::any('{all}', 'AngularController@serveFrontend')->where('all', '^(?!api).*$');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #route
ADD COMMENT
Topic
Name
8+1 =