Fix rules to also work with non-Google hosted Gerrit
Change-Id: I5b5c2b4580082b0823eabaff2b5644fc025aed6c
diff --git a/data/rules.json b/data/rules.json
index 576a6ff..3f95919 100644
--- a/data/rules.json
+++ b/data/rules.json
@@ -1,13 +1,13 @@
[
{
"disabled": false,
- "target": "https://cdn.googlesource.com/polygerrit_ui/[0-9.]+/elements/.*",
+ "target": ".*/gr-app.js",
"operator": "redirect",
"destination": "http://localhost:8081/elements/gr-app.js"
},
{
"disabled": false,
- "target": "https://cdn.googlesource.com/polygerrit_ui/[0-9.]+/styles/",
+ "target": ".*/styles/",
"operator": "redirect",
"destination": "http://localhost:8081/styles/"
},