From 53bf224e84f89fd2a66afe6461ef09b555751584 Mon Sep 17 00:00:00 2001 From: hackademix Date: Sun, 10 Nov 2019 13:09:29 +0100 Subject: Use invalid IP rather than domain name to prevent offline status from breaking sync messaging in Chromium. --- src/lib/SyncMessage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/SyncMessage.js b/src/lib/SyncMessage.js index 5880cdb..b622afe 100644 --- a/src/lib/SyncMessage.js +++ b/src/lib/SyncMessage.js @@ -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) { -- cgit v1.2.3