Allow any allowed hosts when debug

This commit is contained in:
c0de 2023-11-13 23:01:47 -06:00
parent ea67d5a590
commit e7494c2ffc

View File

@ -27,6 +27,8 @@ DEBUG = True
ALLOWED_HOSTS = [] ALLOWED_HOSTS = []
if DEBUG:
ALLOWED_HOSTS.append("*")
# Application definition # Application definition