aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-12-22 16:10:03 -0500
committerBobby <[email protected]>2022-12-22 16:10:03 -0500
commit0be6c3ed871af60f3735b09de020aefe874fca21 (patch)
treeb13ab7bcdcef30e6cd5250e27328059afefdeed6
parent6cb46529798455c649eaa62738ca1e65b535c25f (diff)
downloadthatcomputerscientist-0be6c3ed871af60f3735b09de020aefe874fca21.tar.xz
thatcomputerscientist-0be6c3ed871af60f3735b09de020aefe874fca21.zip
Update local domain
-rw-r--r--thatcomputerscientist/settings.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/thatcomputerscientist/settings.py b/thatcomputerscientist/settings.py
index 18133926..a3f6e7e8 100644
--- a/thatcomputerscientist/settings.py
+++ b/thatcomputerscientist/settings.py
@@ -32,9 +32,9 @@ DEBUG = True
# if os.getenv('ENVIRONMENT') == 'development' else False
ALLOWED_HOSTS = ["*"]
-CSRF_TRUSTED_ORIGINS = ['http://*.67.20.192.102', 'https://*.thatcomputerscientist.com', 'http://*.thatcomputerscientist.com']
-SESSION_COOKIE_DOMAIN = "67.20.192.102" if os.getenv('ENVIRONMENT') == 'development' else ".thatcomputerscientist.com"
-DOMAIN_NAME = "67.20.192.102" if os.getenv('ENVIRONMENT') == 'development' else "thatcomputerscientist.com"
+CSRF_TRUSTED_ORIGINS = ['http://*.localhost', 'https://*.thatcomputerscientist.com', 'http://*.thatcomputerscientist.com']
+SESSION_COOKIE_DOMAIN = "localhost" if os.getenv('ENVIRONMENT') == 'development' else ".thatcomputerscientist.com"
+DOMAIN_NAME = "localhost" if os.getenv('ENVIRONMENT') == 'development' else "thatcomputerscientist.com"
# Application definition