Allowed_hosts in .env file

This commit is contained in:
Trullemans Gregory 2021-11-20 16:34:38 +01:00
parent 7b7796f1e5
commit 752ad61394
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ SECRET_KEY = env('SECRET_KEY')
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
ALLOWED_HOSTS = env('ALLOWED_HOSTS').split()
# Application definition