Skip to content

Commit

Permalink
Updating policies for django
Browse files Browse the repository at this point in the history
  • Loading branch information
york-stsci committed Nov 25, 2024
1 parent 5bd807f commit a2935ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jwql/website/jwql_proj/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = get_config()['django_debug']

# Security settings to allow Jdaviz quicklook
# Might well be avoidable if the Jdaviz Solara server were behind an SSH reverse proxy.
X_FRAME_OPTIONS = "SAMEORIGIN"
SECURE_CONTENT_TYPE_NOSNIFF = False

ALLOWED_HOSTS = ['*']

Expand Down

0 comments on commit a2935ea

Please sign in to comment.