Added local ip's to allowed_hosts

This commit is contained in:
reverend 2022-01-14 12:37:21 +01:00
parent 830120a929
commit 19300614bc

View File

@ -34,7 +34,7 @@ SECRET_KEY = 'n$(bx8(^)*wz1ygn@-ekt7rl^1km*!_c+fwwjiua8m@-x_rpl0'
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False DEBUG = False
ALLOWED_HOSTS = ['localhost'] ALLOWED_HOSTS = ['localhost', '127.0.0.1', '[::1]']
# Application definition # Application definition