-
Notifications
You must be signed in to change notification settings - Fork 4
/
rules.json
46 lines (46 loc) · 1.07 KB
/
rules.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[
{
"id": 1,
"priority": 1,
"action": {
"type": "modifyHeaders",
"responseHeaders": [
{
"header": "Access-Control-Allow-Origin",
"operation": "set",
"value": "https://www.meta.com"
},
{
"header": "Access-Control-Allow-Methods",
"operation": "set",
"value": "*"
},
{
"header": "Access-Control-Allow-Headers",
"operation": "set",
"value": "*"
}
]
},
"condition": {
"urlFilter": "securecdn.oculus.com",
"domains": ["meta.com"]
}
},
{
"id": 2,
"priority": 1,
"action": {
"type": "modifyHeaders",
"requestHeaders": [
{ "header": "sec-fetch-dest", "operation": "set", "value": "document" },
{ "header": "sec-fetch-mode", "operation": "set", "value": "navigate" },
{ "header": "sec-fetch-site", "operation": "set", "value": "none" }
]
},
"condition": {
"urlFilter": "securecdn.oculus.com",
"domains": ["meta.com"]
}
}
]