add allowed hosts

This commit is contained in:
Tom Irgang 2023-04-17 21:48:32 +02:00
parent dc522daffe
commit 054fb8dade

View file

@ -32,8 +32,11 @@ SECRET_KEY = os.environ.get(
# SECURITY WARNING: don't run with debug turned on in production!
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