Allow all hosts when developing

The hostname changes a lot and some servers have multiple IPs.
This commit is contained in:
Andreas Zweili 2023-09-27 20:20:45 +02:00
parent 6f1998a7a3
commit a79a52b42a
1 changed files with 1 additions and 8 deletions

View File

@ -7,14 +7,7 @@ import os
from .base import *
ALLOWED_HOSTS = [
"localhost",
"127.0.0.1",
"0.0.0.0",
getfqdn(),
gethostname(),
gethostbyname(gethostname()),
]
ALLOWED_HOSTS = ["*"]
CSRF_TRUSTED_ORIGINS = [
"http://localhost:8000",