Make Inertia middleware last
This commit is contained in:
parent
3e6844eb03
commit
92321aeb1e
|
@ -28,7 +28,6 @@ class Kernel extends HttpKernel
|
|||
*/
|
||||
protected $middlewareGroups = [
|
||||
'web' => [
|
||||
\Inertia\Middleware::class,
|
||||
\App\Http\Middleware\EncryptCookies::class,
|
||||
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
|
||||
\Illuminate\Session\Middleware\StartSession::class,
|
||||
|
@ -36,6 +35,7 @@ class Kernel extends HttpKernel
|
|||
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
||||
\App\Http\Middleware\VerifyCsrfToken::class,
|
||||
\Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||
\Inertia\Middleware::class,
|
||||
],
|
||||
|
||||
'api' => [
|
||||
|
|
Loading…
Reference in New Issue