From a5e7bbbc25244cec6859df5a6db642d972fd5e14 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 10 Dec 2024 17:09:59 +0000 Subject: Adds proxy setting for recaptcha --- config/settings/production.py | 1 + 1 file changed, 1 insertion(+) diff --git a/config/settings/production.py b/config/settings/production.py index eaef5dc..3f5dbf9 100644 --- a/config/settings/production.py +++ b/config/settings/production.py @@ -234,3 +234,4 @@ MAILGUN_API_URL = env("MAILGUN_API_URL", default="https://api.eu.mailgun.net/v3" USE_X_FORWARDED_HOST = True SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https") RECAPTCHA_USE_SSL = True # Use HTTPS for requests +RECAPTCHA_PROXY = {'http': 'http://127.0.0.1:5000', 'https': 'https://127.0.0.1:5000'} \ No newline at end of file -- cgit v1.2.3