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?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3gKW2r4
via IFTTT
Aucun commentaire:
Enregistrer un commentaire