mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-09-10 12:15:24 -05:00
Acces Logger fixing
This commit is contained in:
1
dist/app/Http/Kernel.php
vendored
1
dist/app/Http/Kernel.php
vendored
@@ -45,6 +45,7 @@ class Kernel extends HttpKernel
|
||||
'api' => [
|
||||
\Illuminate\Routing\Middleware\ThrottleRequests::class.':api',
|
||||
\Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||
AccessLogger::class,
|
||||
],
|
||||
|
||||
'api.session' => [
|
||||
|
||||
3
dist/routes/api.php
vendored
3
dist/routes/api.php
vendored
@@ -19,6 +19,7 @@
|
||||
Route::get('patch/battleye', [PatchController::class, 'getBattleyePatch']);
|
||||
});
|
||||
|
||||
|
||||
Route::fallback(function () {
|
||||
return response('route not found', 404);
|
||||
});
|
||||
})->middleware('api.session');
|
||||
Reference in New Issue
Block a user