We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 635ac9a commit f63a7cbCopy full SHA for f63a7cb
routes/web.php
@@ -10,7 +10,7 @@
10
| to using a Closure or controller method. Build something great!
11
|
12
*/
13
-Route::get('/{vue_capture?}', function () {
14
- return view('index');
15
-})->where('vue_capture', '^[^api]');
16
-#})->where('vue_capture', '[\/\w\.-]*');
+
+Route::get('/{catchall?}', function () {
+ return response()->view('index');
+})->where('catchall', '(.*)');
0 commit comments