First attempt

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-09-08 22:49:56 +01:00
parent e2adaa7da6
commit bc88aed6ee
2 changed files with 2 additions and 8 deletions

View file

@ -37,8 +37,8 @@ class Kernel extends HttpKernel
'web' => [
\App\Http\Middleware\EncryptCookies::class,
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\App\Http\Middleware\VerifyCsrfToken::class,
\App\Http\Middleware\CheckForSetup::class,
\App\Http\Middleware\VerifyCsrfToken::class,
\App\Http\Middleware\CheckLocale::class,
\App\Http\Middleware\CheckUserIsActivated::class,
\App\Http\Middleware\CheckForTwoFactor::class,
@ -46,19 +46,13 @@ class Kernel extends HttpKernel
\App\Http\Middleware\AssetCountForSidebar::class,
\Illuminate\Session\Middleware\AuthenticateSession::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
],
'api' => [
'auth:api',
\App\Http\Middleware\CheckForSetup::class,
\App\Http\Middleware\CheckLocale::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
],
'health' => [
],
];
/**

View file

@ -538,7 +538,7 @@ Route::group(['middleware' => 'web'], function () {
// Use the
Route::group(['middleware' => 'health'], function () {
Route::group(['middleware' => 'guest'], function () {
Route::get(
'/health',
[HealthController::class, 'get']