url exception for telegram webhooks
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
bc7a8c5625
commit
7414c37c77
@ -33,6 +33,12 @@ EXEMPT_URLS += [
|
||||
re.compile(r"^pxy_whatsapp/webhook/verify/?$"),
|
||||
]
|
||||
|
||||
# Webhook de Telegram
|
||||
EXEMPT_URLS += [
|
||||
"bots/webhook/", # prefijo general
|
||||
re.compile(r"^bots/webhook/.+/$"), # con <bot_name> al final
|
||||
]
|
||||
|
||||
|
||||
class LoginRequiredMiddleware(MiddlewareMixin):
|
||||
def process_request(self, request):
|
||||
|
Loading…
x
Reference in New Issue
Block a user