新增 shiro.accessControlAllowMethods 和 shiro.accessControlAllowHeaders 配置

This commit is contained in:
thinkgem
2019-11-02 23:54:33 +08:00
parent b2a062a93e
commit 4d795de51d

View File

@@ -357,6 +357,10 @@ shiro:
# accessControlAllowOrigin: http://demo.jeesite.com
# accessControlAllowOrigin: '*'
# 允许跨域访问时,可以使用的方法和响应头
# accessControlAllowMethods: GET, POST, OPTIONS
# accessControlAllowHeaders: Origin, No-Cache, X-Requested-With, If-Modified-Since, Pragma, Last-Modified, Cache-Control, Expires, Content-Type, X-E4M-With
# 是否允许接收跨域的Cookie凭证数据
# accessControlAllowCredentials: true