Skip to content

Commit f63a7cb

Browse files
committed
rework catchall
1 parent 635ac9a commit f63a7cb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

routes/web.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
| to using a Closure or controller method. Build something great!
1111
|
1212
*/
13-
Route::get('/{vue_capture?}', function () {
14-
return view('index');
15-
})->where('vue_capture', '^[^api]');
16-
#})->where('vue_capture', '[\/\w\.-]*');
13+
14+
Route::get('/{catchall?}', function () {
15+
return response()->view('index');
16+
})->where('catchall', '(.*)');

0 commit comments

Comments
 (0)