Change routing to work for any path

This commit is contained in:
Daniel_I_Am 2021-09-01 23:22:54 +02:00
parent 6c646710b8
commit 73358d0619
2 changed files with 3 additions and 3 deletions

View File

@ -13,6 +13,6 @@ use Illuminate\Support\Facades\Route;
|
*/
Route::get('/', function () {
return view('welcome');
});
Route::get('/{any}', function() {
return view('home');
})->where('any', '.*');