Fix: Corregida verificacion de Telegram y configurado TrustProxies para HTTPS
This commit is contained in:
@@ -11,7 +11,11 @@ return Application::configure(basePath: dirname(__DIR__))
|
||||
health: '/up',
|
||||
)
|
||||
->withMiddleware(function (Middleware $middleware): void {
|
||||
//
|
||||
$middleware->trustProxies(at: '*');
|
||||
|
||||
$middleware->validateCsrfTokens(except: [
|
||||
'/telegram/webhook',
|
||||
]);
|
||||
})
|
||||
->withExceptions(function (Exceptions $exceptions): void {
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user