Skip to content
Permalink
Browse files

Use invalid IP rather than domain name to prevent offline status from…

… breaking sync messaging in Chromium.
  • Loading branch information
hackademix committed Nov 10, 2019
1 parent cbd8147 commit 53bf224e84f89fd2a66afe6461ef09b555751584
Showing with 2 additions and 1 deletion.
  1. +2 −1 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) {

0 comments on commit 53bf224

Please sign in to comment.
You can’t perform that action at this time.