mwy2.0
This commit is contained in:
@@ -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",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user