Skip to content

Commit

Permalink
跨域设置Cors允许头错误修改
Browse files Browse the repository at this point in the history
  • Loading branch information
sanluan committed Nov 13, 2018
1 parent ccb392a commit 43c2530
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -75,7 +75,7 @@ public CorsConfiguration getConfig(SysSite site) {
.asList(StringUtils.split(configData.get(CONFIG_ALLOWED_METHODS), CommonConstants.COMMA_DELIMITED)));
}
if (CommonUtils.notEmpty(configData.get(CONFIG_ALLOWED_HEADERS))) {
config.setExposedHeaders(Arrays
config.setAllowedHeaders(Arrays
.asList(StringUtils.split(configData.get(CONFIG_ALLOWED_HEADERS), CommonConstants.COMMA_DELIMITED)));
}
if (CommonUtils.notEmpty(configData.get(CONFIG_EXPOSED_HEADERS))) {
Expand Down

0 comments on commit 43c2530

Please sign in to comment.