diff options
| author | Bobby <[email protected]> | 2023-07-10 22:35:22 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2023-07-10 22:35:22 -0400 |
| commit | 1cb51e1729a65bd0cdffeace802854aa184e1e9b (patch) | |
| tree | 154f068b7b1872e260141238355cbcac574d10c4 | |
| parent | a89193f91ce1b55bb799ad44fb216427a82c775f (diff) | |
| download | thatcomputerscientist-1cb51e1729a65bd0cdffeace802854aa184e1e9b.tar.xz thatcomputerscientist-1cb51e1729a65bd0cdffeace802854aa184e1e9b.zip | |
Readying for migration to shi.foo -> currently an alias
| -rw-r--r-- | thatcomputerscientist/settings.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/thatcomputerscientist/settings.py b/thatcomputerscientist/settings.py index a7569fba..8a142610 100644 --- a/thatcomputerscientist/settings.py +++ b/thatcomputerscientist/settings.py @@ -37,8 +37,8 @@ SECRET_KEY = os.getenv('AUTHORIZATION_STRING') DEBUG = True if os.getenv('ENVIRONMENT') == 'development' else False ALLOWED_HOSTS = ["*"] -CSRF_TRUSTED_ORIGINS = ['https://*.thatcomputerscientist.com', 'http://*.thatcomputerscientist.com'] -SESSION_COOKIE_DOMAIN = ".thatcomputerscientist.com" +CSRF_TRUSTED_ORIGINS = ['https://*.thatcomputerscientist.com', 'http://*.thatcomputerscientist.com', 'https://*.shi.foo'] +SESSION_COOKIE_DOMAIN = None DOMAIN_NAME = "thatcomputerscientist.com" SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') |
