Change routing to work for any path
This commit is contained in:
parent
6c646710b8
commit
73358d0619
@ -13,6 +13,6 @@ use Illuminate\Support\Facades\Route;
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Route::get('/', function () {
|
Route::get('/{any}', function() {
|
||||||
return view('welcome');
|
return view('home');
|
||||||
});
|
})->where('any', '.*');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user