Also enable PolyGerrit extension on staging.
Change-Id: I43bb48f8c62dbb3948a825be89b0c3b96d029037
diff --git a/background.js b/background.js
index 73ec736..337adc4 100644
--- a/background.js
+++ b/background.js
@@ -66,6 +66,9 @@
new chrome.declarativeContent.PageStateMatcher({
pageUrl: { hostSuffix: '-review.git.corp.google.com' },
}),
+ new chrome.declarativeContent.PageStateMatcher({
+ pageUrl: { hostSuffix: '-review.staging-git.corp.google.com' },
+ }),
],
// And shows the extension's page action.
actions: [ new chrome.declarativeContent.ShowPageAction() ]
@@ -103,6 +106,7 @@
urls: [
'*://*.googlesource.com/*',
"*://*.git.corp.google.com/*",
+ "*://*.staging-git.corp.google.com/*",
]
}
);
diff --git a/manifest.json b/manifest.json
index 7e0a2c7..ba60eb7 100644
--- a/manifest.json
+++ b/manifest.json
@@ -19,7 +19,8 @@
{
"matches": [
"*://*.googlesource.com/*",
- "*://*.git.corp.google.com/*"
+ "*://*.git.corp.google.com/*",
+ "*://*.staging-git.corp.google.com/*"
],
"js": [
"content.js"
@@ -32,7 +33,8 @@
"tabs",
"webRequest",
"*://*.googlesource.com/*",
- "*://*.git.corp.google.com/*"
+ "*://*.git.corp.google.com/*",
+ "*://*.staging-git.corp.google.com/*"
],
"content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'"
}