perf: default allow hosts

pull/15905/head
Eric 2025-08-21 22:02:41 +08:00 committed by Bryan
parent b65ff0d84c
commit 703f39607c
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ ALLOWED_DOMAINS.extend(DEBUG_HOST_PORTS)
# for host in ALLOWED_DOMAINS:
# print(' - ' + host.lstrip('.'))
ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['*']
# https://docs.djangoproject.com/en/4.1/ref/settings/#std-setting-CSRF_TRUSTED_ORIGINS
CSRF_TRUSTED_ORIGINS = []