This commit is contained in:
flower_linux
2026-05-20 16:31:07 +08:00
parent a65cb05d5d
commit 6cc3fdf411
34 changed files with 126 additions and 125 deletions

View File

@@ -134,6 +134,6 @@ CSRF_TRUSTED_ORIGINS = [
# 未配置时至少信任本机 Admin避免部分环境下保存表单被 CSRF 拦截
if not CSRF_TRUSTED_ORIGINS:
CSRF_TRUSTED_ORIGINS = [
"http://127.0.0.1:8000",
"http://localhost:8000",
"http://127.0.0.1:8963",
"http://localhost:8963",
]