I'm using Laravel 5.6 and am trying to create a laravel route in my web file so that anything with the following URL: /assets/*
would go through my controller. For instance, /assets/page1/page2
or /assets/js/somefile
, for some reason it only works when I literally type the following into my URL: /assets/*
.
Route::get('/assets/*', 'AssetsController@proxy');
Where am I going wrong?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire