aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-12-10 17:09:59 +0000
committerMatthew Lemon <y@yulqen.org>2024-12-10 17:09:59 +0000
commita5e7bbbc25244cec6859df5a6db642d972fd5e14 (patch)
tree0ed6353a0c2ca22d78ffaa46789d7a1442d82363
parent4a17277a507ea03ecc81cb31dd0e2e97ecbaaa07 (diff)
Adds proxy setting for recaptcha
-rw-r--r--config/settings/production.py1
1 files changed, 1 insertions, 0 deletions
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