소스 검색

Merge branch 'JCB-KF' of uskycloud/usky-cloud into master

jichaobo 2 년 전
부모
커밋
cf098fbbe1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      base-components/gateway/src/main/java/com/ruoyi/gateway/filter/CrosFilter.java

+ 1 - 1
base-components/gateway/src/main/java/com/ruoyi/gateway/filter/CrosFilter.java

@@ -14,7 +14,7 @@ import reactor.core.publisher.Mono;
 
 @Component
 public class CrosFilter {
-    private static final String ALLOWED_HEADERS = "x-requested-with, authorization, Content-Type, Authorization, credential, X-XSRF-TOKEN,token,username,client, ETag,If-None-Match";
+    private static final String ALLOWED_HEADERS = "x-requested-with, authorization, Content-Type, Authorization, credential, X-XSRF-TOKEN,token,username,client, ETag,If-None-Match,X-Access-Token";
     private static final String ALLOWED_METHODS = "GET, PUT, POST, DELETE, OPTIONS";
     private static final String ALLOWED_ORIGIN = "*";
     private static final String MAX_AGE = "18000L";