mirror of
https://github.com/yangzongzhuan/RuoYi.git
synced 2026-01-23 02:44:58 +00:00
优化csrf名称,防止nginx代理无法识别问题
This commit is contained in:
@@ -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
Reference in New Issue
Block a user