mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
Remove DetectLanguagePrefer middleware from static routes
This commit is contained in:
parent
b7f0a5b23e
commit
57bf10dbc5
@ -17,7 +17,6 @@ class Kernel extends HttpKernel
|
||||
\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
|
||||
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
|
||||
\Illuminate\Foundation\Http\Middleware\TrimStrings::class,
|
||||
\App\Http\Middleware\DetectLanguagePrefer::class,
|
||||
];
|
||||
|
||||
/**
|
||||
@ -33,6 +32,7 @@ class Kernel extends HttpKernel
|
||||
\Illuminate\Session\Middleware\StartSession::class,
|
||||
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
||||
\App\Http\Middleware\AfterSessionBooted::class,
|
||||
\App\Http\Middleware\DetectLanguagePrefer::class,
|
||||
],
|
||||
|
||||
'static' => [],
|
||||
|
Loading…
Reference in New Issue
Block a user