Allow any allowed hosts when debug

This commit is contained in:
c0de 2023-11-13 23:01:47 -06:00
parent ea67d5a590
commit e7494c2ffc
1 changed files with 2 additions and 0 deletions

View File

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