Use invalid IP rather than domain name to prevent offline status from breaking sync messaging in Chromium.
This commit is contained in:
parent
cbd814754a
commit
53bf224e84
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue