Skip to content

Commit 8f2aa89

Browse files
committed
fix: update settings.py to disable debug mode and allow all hosts for production
1 parent fe088f3 commit 8f2aa89

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

CodeJammers/settings.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
SECRET_KEY = "django-insecure-_6u#7#ymw$!=d17pf*p%#_r7yt7fv@d0&xx@5%z(vr4@7@f@2w"
2424

2525
# SECURITY WARNING: don't run with debug turned on in production!
26-
DEBUG = True
26+
DEBUG = False
2727

28-
ALLOWED_HOSTS = ['codejam.azurewebsites.net']
29-
CSRF_TRUSTED_ORIGINS = ['https://codejam.azurewebsites.net']
28+
ALLOWED_HOSTS = ['*']
29+
CSRF_TRUSTED_ORIGINS = ['*']
3030

3131

3232
# Application definition

0 commit comments

Comments
 (0)