Added VKBot

This commit is contained in:
amikhaylov
2026-05-28 02:16:26 +03:00
parent 20450c4ede
commit e90314f18b
16 changed files with 464 additions and 5 deletions
+4 -1
View File
@@ -11,7 +11,10 @@ return Application::configure(basePath: dirname(__DIR__))
health: '/up',
)
->withMiddleware(function (Middleware $middleware): void {
//
// Отключаем CSRF-защиту для вебхука VK
$middleware->validateCsrfTokens(except: [
'vk-webhook',
]);
})
->withExceptions(function (Exceptions $exceptions): void {
//