diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index 6b68304..8c3250e 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -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' => [