Skip to content

Commit

Permalink
Add appdot
Browse files Browse the repository at this point in the history
  • Loading branch information
blopker committed Oct 19, 2023
1 parent a803d30 commit e56c3a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# https://docs.djangoproject.com/en/dev/ref/settings/#secret-key
SECRET_KEY = env("DJANGO_SECRET_KEY")
# https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
ALLOWED_HOSTS = env.list("DJANGO_ALLOWED_HOSTS", default=["totem.org", "totem.kbl.io"])
ALLOWED_HOSTS = env.list("DJANGO_ALLOWED_HOSTS", default=["totem.org", "totem.kbl.io", "app.totem.org"])
ALLOWED_HOSTS.append(socket.getaddrinfo(socket.gethostname(), "http")[0][4][0])
if STATIC_HOST:
ALLOWED_HOSTS.append(STATIC_HOST)
Expand Down

0 comments on commit e56c3a4

Please sign in to comment.