I'm gona to migrate a Laravel application from domain
to
Currently on [1] Some clients do a request like 'GET /some'. After host the app on [2] the request is 'GET app/some'.
How do I smoothly make routes to answer as it has been called from [1] so I do not change every route adding the app
prefix?
Right now I have to modify all routes (around 50) like this:
Route::get('app/some', function () {
});
I'm using Laravel 5.2 (yes, it is old).
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/384rvBr
via IFTTT
Aucun commentaire:
Enregistrer un commentaire