Merge pull request #4310 from pixelfed/staging

Update http kernel
This commit is contained in:
daniel 2023-04-19 23:29:08 -06:00 committed by GitHub
commit 135792d543
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,7 @@ class Kernel extends HttpKernel
\App\Http\Middleware\TrimStrings::class,
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
\App\Http\Middleware\TrustProxies::class,
\Illuminate\Http\Middleware\HandleCors::class,
];
/**
@ -42,7 +43,6 @@ class Kernel extends HttpKernel
'api' => [
'bindings',
\Fruitcake\Cors\HandleCors::class,
],
];