mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-13 12:00:02 -04:00
ow
This commit is contained in:
parent
3f027125f7
commit
18f0cba1e4
2 changed files with 9 additions and 4 deletions
|
@ -19,9 +19,9 @@
|
||||||
"author": "Titanium Network",
|
"author": "Titanium Network",
|
||||||
"license": "GNU AFFERO",
|
"license": "GNU AFFERO",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@mercuryworkshop/bare-mux": "^1.1.4",
|
"@mercuryworkshop/bare-mux": "^1.1.0",
|
||||||
"@mercuryworkshop/epoxy-transport": "^2.0.6",
|
"@mercuryworkshop/epoxy-transport": "^1.1.0",
|
||||||
"@titaniumnetwork-dev/ultraviolet": "^3.1.5",
|
"@titaniumnetwork-dev/ultraviolet": "3.1.1",
|
||||||
"@tomphttp/bare-server-node": "^2.0.3",
|
"@tomphttp/bare-server-node": "^2.0.3",
|
||||||
"axios": "^1.7.2",
|
"axios": "^1.7.2",
|
||||||
"babel": "^6.23.0",
|
"babel": "^6.23.0",
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
"node-fetch": "^3.3.2",
|
"node-fetch": "^3.3.2",
|
||||||
"puppeteer": "^22.12.1",
|
"puppeteer": "^22.12.1",
|
||||||
"rammerhead": "https://github.com/NebulaServices/rammerhead/releases/download/rammerhead-1.2.41-nebula.8/rammerhead-1.2.41-nebula.7.tgz",
|
"rammerhead": "https://github.com/NebulaServices/rammerhead/releases/download/rammerhead-1.2.41-nebula.8/rammerhead-1.2.41-nebula.7.tgz",
|
||||||
"wisp-server-node": "^1.1.0",
|
"wisp-server-node": "^1.0.6",
|
||||||
"ws": "^8.18.0"
|
"ws": "^8.18.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,11 @@ async function registerSW() {
|
||||||
|
|
||||||
let wispUrl = (location.protocol === "https:" ? "wss" : "ws") + "://" + location.host + "/wisp/";
|
let wispUrl = (location.protocol === "https:" ? "wss" : "ws") + "://" + location.host + "/wisp/";
|
||||||
await BareMux.SetTransport("EpxMod.default", { wisp: wispUrl });
|
await BareMux.SetTransport("EpxMod.default", { wisp: wispUrl });
|
||||||
|
|
||||||
|
//When testing proxy support CLEAR service workers from 8080 (or whatever current port you are using)
|
||||||
|
|
||||||
|
// navigator.serviceWorker.register(stockSW).then(register => register.unregister().then(bool => console.log("Unregistered: " + bool)));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
registerSW();
|
registerSW();
|
Loading…
Add table
Add a link
Reference in a new issue