mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-23 05:00:23 +08:00
!102 注册中心被代理成其他端口后,出现的跨域问题不能登录的问题
Merge pull request !102 from xiaojiaya/master
This commit is contained in:
commit
9a16a5ff0b
@ -61,7 +61,7 @@ public class ConsoleConfig {
|
||||
public CorsFilter corsFilter() {
|
||||
CorsConfiguration config = new CorsConfiguration();
|
||||
config.setAllowCredentials(true);
|
||||
config.addAllowedOrigin("*");
|
||||
config.addAllowedOriginPattern("*");
|
||||
config.addAllowedHeader("*");
|
||||
config.setMaxAge(18000L);
|
||||
config.addAllowedMethod("*");
|
||||
|
Loading…
Reference in New Issue
Block a user