add allowed hosts
This commit is contained in:
parent
dc522daffe
commit
054fb8dade
1 changed files with 5 additions and 2 deletions
|
|
@ -32,8 +32,11 @@ SECRET_KEY = os.environ.get(
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = os.getenv("DJANGO_DEBUG", 'true').lower() in ('true', '1', 't')
|
DEBUG = os.getenv("DJANGO_DEBUG", 'true').lower() in ('true', '1', 't')
|
||||||
|
|
||||||
ALLOWED_HOSTS = []
|
ALLOWED_HOSTS = [
|
||||||
|
'127.0.0.1',
|
||||||
|
'localhost',
|
||||||
|
'repapp.rc-hip.de'
|
||||||
|
]
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue