Added VKBot
This commit is contained in:
+4
-1
@@ -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 {
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user