Skip to content

Commit dcd2f22

Browse files
committedMar 29, 2020
fix(routes): add web middleware to auto route
1 parent 0a9ff4c commit dcd2f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎routes/nuxt.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
use M2S\LaravelNuxt\Facades\Nuxt;
44

5-
Nuxt::route('{path?}')->name('nuxt')->where('path', '.*');
5+
Nuxt::route('{path?}')->middleware('web')->name('nuxt')->where('path', '.*');

0 commit comments

Comments
 (0)