Skip to content

Commit

Permalink
ci: use env variable for ALLOWED_HOSTS
Browse files Browse the repository at this point in the history
Remove hard-coded domain name from ALLOWED_HOSTS settings
as value is meant to be set via env variable for deployments.
  • Loading branch information
koeaw committed Nov 10, 2023
1 parent 977d06c commit b6cbed5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion apis_ontology/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@
ALLOWED_HOSTS = [
"127.0.0.1",
"localhost",
"apis-instance-frischmuth.acdh-dev.oeaw.ac.at",
]

if "ALLOWED_HOSTS" in os.environ:
Expand Down

0 comments on commit b6cbed5

Please sign in to comment.