Skip to content

Commit

Permalink
Unused env
Browse files Browse the repository at this point in the history
  • Loading branch information
gnthibault committed Nov 20, 2024
1 parent da13502 commit 6ab5e48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mytom/mytom/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

ALLOWED_HOSTS = ['*']
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
CSRF_TRUSTED_ORIGINS = ['http://*', 'https://*']
# CSRF_TRUSTED_ORIGINS = ['http://*', 'https://*']
# CSRF_TRUSTED_ORIGINS = ['*']
# CSRF_ALLOWED_ORIGINS = ['*']
# CORS_ORIGINS_WHITELIST = ['*']
Expand Down
2 changes: 1 addition & 1 deletion tom_setup/templates/tom_setup/settings.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ SECRET_KEY = '{{ SECRET_KEY }}'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = ['*']
ALLOWED_HOSTS = []


# Application definition
Expand Down

0 comments on commit 6ab5e48

Please sign in to comment.