mirror of https://github.com/jumpserver/jumpserver
perf: default allow hosts
parent
b65ff0d84c
commit
703f39607c
|
@ -87,7 +87,7 @@ ALLOWED_DOMAINS.extend(DEBUG_HOST_PORTS)
|
||||||
# for host in ALLOWED_DOMAINS:
|
# for host in ALLOWED_DOMAINS:
|
||||||
# print(' - ' + host.lstrip('.'))
|
# print(' - ' + host.lstrip('.'))
|
||||||
|
|
||||||
ALLOWED_HOSTS = []
|
ALLOWED_HOSTS = ['*']
|
||||||
|
|
||||||
# https://docs.djangoproject.com/en/4.1/ref/settings/#std-setting-CSRF_TRUSTED_ORIGINS
|
# https://docs.djangoproject.com/en/4.1/ref/settings/#std-setting-CSRF_TRUSTED_ORIGINS
|
||||||
CSRF_TRUSTED_ORIGINS = []
|
CSRF_TRUSTED_ORIGINS = []
|
||||||
|
|
Loading…
Reference in New Issue