Removed the need to specify the DJANGO_ALLOWED_HOSTS variable

This commit is contained in:
Eliot Berriot 2018-11-25 18:40:56 +01:00
parent f07d696445
commit 409b076c23
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
5 changed files with 2 additions and 9 deletions

View file

@ -60,7 +60,7 @@ FEDERATION_MUSIC_NEEDS_APPROVAL = env.bool(
)
# XXX: deprecated, see #186
FEDERATION_ACTOR_FETCH_DELAY = env.int("FEDERATION_ACTOR_FETCH_DELAY", default=60 * 12)
ALLOWED_HOSTS = env.list("DJANGO_ALLOWED_HOSTS")
ALLOWED_HOSTS = env.list("DJANGO_ALLOWED_HOSTS", default=[]) + [FUNKWHALE_HOSTNAME]
# APP CONFIGURATION
# ------------------------------------------------------------------------------