-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrules.json
More file actions
68 lines (68 loc) · 1.64 KB
/
rules.json
File metadata and controls
68 lines (68 loc) · 1.64 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[
{
"disabled": false,
"target": ".*/gr-app.js",
"operator": "redirect",
"destination": "http://localhost:8081/elements/gr-app.js"
},
{
"disabled": false,
"target": ".*/styles/",
"operator": "redirect",
"destination": "http://localhost:8081/styles/"
},
{
"destination": "http://localhost:8081/my-plugin.js",
"disabled": true,
"operator": "redirect",
"target": "https://cdn.googlesource.com/polygerrit_assets/.*/plugins/.*/my-plugin.js"
},
{
"disabled": false,
"target": ".*",
"operator": "addReqHeader",
"destination": "X-TEST-ORIGIN=gerrit-fe-dev-helper"
},
{
"disabled": false,
"target": ".*",
"operator": "addRespHeader",
"destination": "Access-Control-Allow-Origin=*|X-WEBKIT-CSP=*"
},
{
"disabled": false,
"target": ".*",
"operator": "addRespHeader",
"destination": "x-google-cache-control=max-age=0, no-cache, no-store, must-revalidate|Cache-Control=max-age=0, no-cache, no-store, must-revalidate"
},
{
"disabled": false,
"target": ".*play.google.com.*",
"operator": "block",
"destination": ""
},
{
"disabled": false,
"target": ".*csp.withgoogle.com.*",
"operator": "block",
"destination": ""
},
{
"disabled": false,
"target": ".*www.google-analytics.com.*",
"operator": "block",
"destination": ""
},
{
"destination": "",
"disabled": true,
"operator": "block",
"target": "https://cdn.googlesource.com/polygerrit_assets/.*/plugins/.*"
},
{
"destination": "",
"disabled": true,
"operator": "block",
"target": "https://.*.git.corp.google.com/plugins/.*"
}
]