We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1144661 + 1646b8a commit f3507d6Copy full SHA for f3507d6
src/signal_documentation/settings.py
@@ -37,6 +37,8 @@
37
38
CORS_ALLOWED_ORIGINS: list[str] = os.environ.get('CORS_ORIGIN_WHITELIST').split(',') if os.environ.get('CORS_ORIGIN_WHITELIST') else [] # type: ignore
39
40
+CSRF_TRUSTED_ORIGINS: list[str] = os.environ.get('CSRF_TRUSTED_ORIGINS').split(',') if os.environ.get('CSRF_TRUSTED_ORIGINS') else [] # type: ignore
41
+
42
if DEBUG:
43
CORS_ALLOW_ALL_ORIGINS = True
44
0 commit comments