fix: statisc

This commit is contained in:
hashbro
2026-08-10 03:53:10 +08:00
parent ad30453922
commit aad44bf52e
33 changed files with 1207 additions and 28 deletions
+2
View File
@@ -25,12 +25,14 @@ return Application::configure(basePath: dirname(__DIR__))
->withMiddleware(function (Middleware $middleware): void {
$middleware->alias([
'admin.super' => \App\Http\Middleware\EnsureSuperAdmin::class,
'panel.host' => \App\Http\Middleware\EnsurePanelHost::class,
]);
$middleware->validateCsrfTokens(except: [
'api/*',
'link/*',
'hooks/*',
'statistic/t',
]);
$middleware->redirectGuestsTo(function () {