返回响应头增加x-token,通过记住我登录系统时使用。
This commit is contained in:
@@ -406,7 +406,7 @@ shiro:
|
||||
# 允许跨域访问时 CORS,可以获取和返回的方法和请求头
|
||||
#accessControlAllowMethods: GET, POST, OPTIONS
|
||||
#accessControlAllowHeaders: content-type, x-requested-with, x-ajax, x-token, x-remember
|
||||
#accessControlExposeHeaders: x-remember
|
||||
#accessControlExposeHeaders: x-token, x-remember
|
||||
|
||||
# 是否允许接收跨域的Cookie凭证数据 CORS
|
||||
#accessControlAllowCredentials: false
|
||||
|
||||
Reference in New Issue
Block a user