|
|
|
@ -61,7 +61,7 @@ public class CorsFilter implements Filter { |
|
|
|
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { |
|
|
|
//配置可信域名
|
|
|
|
String[] authhosts = {"http://10.132.108.3:85","http://jdm.szssfj.cn","http://localhost:85","http://192.168.31.196:3301","http://192.168.31.196:85","http://127.0.0.1:85", |
|
|
|
"http://localhost:3301","http://192.168.110.35:3301","http://localhost:86","http://192.168.110.41:3301"}; |
|
|
|
"http://localhost:3301","http://192.168.110.35:3301","http://localhost:86","http://192.168.110.41:3301","http://192.168.31.71:3301"}; |
|
|
|
String authost = ""; |
|
|
|
HttpServletRequest httprequest = (HttpServletRequest) request; |
|
|
|
String origin = httprequest.getHeader("Origin"); |
|
|
|
|