From 15259fc10c064fdfbd73dc45af328a363e6e7ef8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E5=B9=BF?= Date: Thu, 21 Aug 2025 22:05:51 +0800 Subject: [PATCH] Update base.py --- apps/jumpserver/settings/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/jumpserver/settings/base.py b/apps/jumpserver/settings/base.py index 165784645..348d139a6 100644 --- a/apps/jumpserver/settings/base.py +++ b/apps/jumpserver/settings/base.py @@ -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 = []