mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-02 18:46:13 +00:00
fix 修复 加密请求头被拦截问题
This commit is contained in:
@@ -25,7 +25,10 @@ public class GlobalCorsFilter implements WebFilter, Ordered {
|
||||
/**
|
||||
* 这里为支持的请求头,如果有自定义的header字段请自己添加
|
||||
*/
|
||||
private static final String ALLOWED_HEADERS = "X-Requested-With, Content-Language, Content-Type, Authorization, clientid, credential, X-XSRF-TOKEN, isToken, token, Admin-Token, App-Token";
|
||||
private static final String ALLOWED_HEADERS =
|
||||
"X-Requested-With, Content-Language, Content-Type, " +
|
||||
"Authorization, clientid, credential, X-XSRF-TOKEN, " +
|
||||
"isToken, token, Admin-Token, App-Token, Encrypt-Key, isEncrypt";
|
||||
|
||||
/**
|
||||
* 允许的请求方法
|
||||
|
Reference in New Issue
Block a user