zhangwei 2 سال پیش
والد
کامیت
03ba4456d1
1فایلهای تغییر یافته به همراه9 افزوده شده و 3 حذف شده
  1. 9 3
      src/rules/rules_1.json

+ 9 - 3
src/rules/rules_1.json

@@ -1,15 +1,14 @@
 [
     {
         "id": 1,
-        "condition": {
-        },
+        "condition": {},
         "action": {
             "type": "modifyHeaders",
             "responseHeaders": [
                 {
                     "header": "X-Frame-Options",
                     "operation": "remove"
-                },        
+                },
                 {
                     "header": "Frame-Options",
                     "operation": "remove"
@@ -18,6 +17,13 @@
                     "header": "content-security-policy",
                     "operation": "remove"
                 }
+            ],
+            "requestHeader": [
+                {
+                    "header": "sec-fetch-dest",
+                    "operation": "set",
+                    "value": "document"
+                }
             ]
         }
     }