mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 13:03:16 +00:00
Update http kernel
This commit is contained in:
parent
4fa1f2d1e7
commit
848181913f
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
],
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue