Skip to content

Commit

Permalink
Merge pull request #203 from CanDIG/hotfix-stable
Browse files Browse the repository at this point in the history
Hotfix for UHN prod: add "query" to allowed hosts
  • Loading branch information
daisieh authored May 9, 2024
2 parents 472cca6 + 380948c commit c550625
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/settings/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"127.0.0.1",
os.environ.get("HOST_CONTAINER_NAME"),
os.environ.get("EXTERNAL_URL"),
"query"
]

# Debug toolbar settings
Expand Down
2 changes: 2 additions & 0 deletions config/settings/prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
ALLOWED_HOSTS = [
os.environ.get("HOST_CONTAINER_NAME"),
os.environ.get("EXTERNAL_URL"),
os.environ.get("CANDIG_INTERNAL_DOMAIN"),
"query"
]

# Whitenoise
Expand Down

0 comments on commit c550625

Please sign in to comment.