lundi 24 juin 2019

Laravel: How to create a route for multiple domains

In Laravel it is possible to target specific domains in routes like so:

Route::domain('example1.com')->group(...);

But how can I create a route that targets multiple domains like so:

Route::domain(['example1.com', 'example2.com'])->group(...);



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire