Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jsolly committed Oct 12, 2024
1 parent 521940c commit d413af3
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,14 @@

BASE_DIR = Path(__file__).resolve().parent.parent # Three levels up
SECRET_KEY = os.environ["SECRET_KEY"]
ALLOWED_HOSTS = []
ALLOWED_HOSTS.extend(
filter(
None,
os.environ.get("ALLOWED_HOSTS", "").split(" "),
)
)
ALLOWED_HOSTS = ["*"]
# ALLOWED_HOSTS = []
# ALLOWED_HOSTS.extend(
# filter(
# None,
# os.environ.get("ALLOWED_HOSTS", "").split(" "),
# )
# )

SITE_ID = int(os.environ["SITE_ID"])

Expand Down

0 comments on commit d413af3

Please sign in to comment.