mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 04:19:15 +02:00
Can now configure allowed host in all settings
This commit is contained in:
parent
c0724d3cb4
commit
2f8a026afa
4 changed files with 6 additions and 1 deletions
|
@ -23,6 +23,10 @@ try:
|
|||
env.read_env(ROOT_DIR.file('.env'))
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
|
||||
ALLOWED_HOSTS = env.list('DJANGO_ALLOWED_HOSTS')
|
||||
|
||||
|
||||
# APP CONFIGURATION
|
||||
# ------------------------------------------------------------------------------
|
||||
DJANGO_APPS = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue