Use invalid IP rather than domain name to prevent offline status from breaking sync messaging in Chromium.

This commit is contained in:
hackademix 2019-11-10 13:09:29 +01:00
parent cbd814754a
commit 53bf224e84
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
"use strict";
(() => {
let ENDPOINT_PREFIX = `https://sync-messages.invalid/${browser.extension.getURL("")}?`;
//let ENDPOINT_PREFIX = `https://sync-messages.invalid/${browser.extension.getURL("")}?`;
let ENDPOINT_PREFIX = `https://255.255.255.255/${browser.extension.getURL("")}?`;
let MOZILLA = "mozSystem" in XMLHttpRequest.prototype;
if (browser.webRequest) {