优化csrf名称,防止nginx代理无法识别问题

This commit is contained in:
RuoYi
2025-05-12 11:54:26 +08:00
parent 8d3c869bdb
commit 7ab633fc5a
7 changed files with 15 additions and 10 deletions

View File

@@ -6450,7 +6450,7 @@
textEncoding: 'UTF-8',
preProcessUpload: null,
ajaxSettings: { headers: {
"csrf_token": document.querySelector('meta[name="csrf-token"]').content
"X-CSRF-Token": document.querySelector('meta[name="csrf-token"]').content
}},
ajaxDeleteSettings: {},
showAjaxErrorDetails: true,

File diff suppressed because one or more lines are too long