mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-14 04:13:46 +02:00
Initial moves to new API scheme.
Implements a better middleware for handling API authentication, as well as cleaner route handling.
This commit is contained in:
@@ -39,6 +39,7 @@ class Kernel extends HttpKernel
|
||||
\Pterodactyl\Http\Middleware\LanguageMiddleware::class,
|
||||
],
|
||||
'api' => [
|
||||
\Pterodactyl\Http\Middleware\HMACAuthorization::class,
|
||||
'throttle:60,1',
|
||||
'bindings',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user