Skip to content

Commit

Permalink
chore(feat): add host
Browse files Browse the repository at this point in the history
  • Loading branch information
ndu committed Dec 19, 2024
1 parent 5ef3d38 commit ea96a48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/core/config/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

DEBUG = bool(config('DJANGO_DEBUG', default=False))

ALLOWED_HOSTS = ['74.119.195.253', 'cms.2077.xyz']
ALLOWED_HOSTS = ['74.119.195.253', '23.153.72.61' 'cms.2077.xyz']

CSRF_TRUSTED_ORIGINS = []
for host in ALLOWED_HOSTS:
Expand All @@ -16,6 +16,7 @@
"http://74.119.195.253", # Http version of Astro
"http://127.0.0.1:4321", # Local Dev
"http://localhost:4321", # Local Dev
"http://23.153.72.61",
]

CORS_ALLOW_CREDENTIALS = True
Expand Down

0 comments on commit ea96a48

Please sign in to comment.