소스 검색

iframe 调整

laiguoran 4 년 전
부모
커밋
2c2667f8a2
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      config/config.default.js

+ 5 - 5
config/config.default.js

@@ -198,11 +198,11 @@ module.exports = appInfo => {
         appsecret: '457d64c55f48f57cd22eca47e53d15cb',
     };
     // X-Frame-Options 内嵌关闭
-    config.security = {
-        xframe: {
-            enable: false,
-        },
-    };
+    // config.security = {
+    //     xframe: {
+    //         enable: false,
+    //     },
+    // };
 
     config.proxy = true;