|
@@ -41,7 +41,7 @@ public class OriginFilter implements Filter {
|
|
|
response.setHeader("Access-Control-Allow-Headers",
|
|
|
"Origin, No-Cache, X-Requested-With, If-Modified-Since, Pragma, Last-Modified, Cache-Control, Expires,userAgent,User-Agent,version, " +
|
|
|
" Content-Type, content-type,X-E4M-With,Authorization,token,authorization,share,Sec-Fetch-Mode,Sec-Fetch-Site,Sec-Fetch-Dest,sec-ch-ua-platform" +
|
|
|
- ",sec-ch-ua-mobile,sec-ch-ua,Referer");
|
|
|
+ ",sec-ch-ua-mobile,sec-ch-ua,Referer,Host,Connection,Accept-Language,Accept-Encoding,Accept");
|
|
|
response.setHeader("Access-Control-Allow-Credentials", "true");
|
|
|
if (request.getMethod().equals("OPTIONS")) {
|
|
|
response.setStatus(200);
|