First pass on CI support

This commit is contained in:
Fedor Indutny
2021-03-25 19:02:53 -07:00
committed by GitHub
parent 746e99b8c2
commit 990e501850
7 changed files with 55 additions and 19 deletions
+3 -2
View File
@@ -220,8 +220,9 @@ export default class AccountManager extends EventTarget {
encodeURIComponent(btoa(utils.getString(pubKey))),
].join('');
// eslint-disable-next-line no-console
console._log(`provisioning url ${url}`);
if (window.CI) {
window.CI.setProvisioningURL(url);
}
setProvisioningUrl(url);
request.respond(200, 'OK');