lyhzzz 2 years ago
parent
commit
447ac9540d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/fdkankan/fusion/config/OriginFilter.java

+ 1 - 1
src/main/java/com/fdkankan/fusion/config/OriginFilter.java

@@ -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);