Fixes
This fixes the service worker not registering, and the config for UV
This commit is contained in:
parent
e1064e82ad
commit
4f67411488
2 changed files with 6 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
importScripts("/ultra/ultra.bundle.js");
|
importScripts("/uv/uv.bundle.js");
|
||||||
importScripts("/ultra/ultra.config.js");
|
importScripts("/uv/uv.config.js");
|
||||||
importScripts(__uv$config.sw || "/ultra/ultra.sw.js");
|
importScripts(__uv$config.sw || "/uv/uv.sw.js");
|
||||||
|
|
||||||
const sw = new UVServiceWorker();
|
const sw = new UVServiceWorker();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
self.__uv$config = {
|
self.__uv$config = {
|
||||||
prefix: "/service/",
|
prefix: "/go/",
|
||||||
bare: "/bare/",
|
bare: "/bare/",
|
||||||
encodeUrl: Ultraviolet.codec.xor.encode,
|
encodeUrl: Ultraviolet.codec.plain.encode,
|
||||||
decodeUrl: Ultraviolet.codec.xor.decode,
|
decodeUrl: Ultraviolet.codec.plain.decode,
|
||||||
handler: "/uv/uv.handler.js",
|
handler: "/uv/uv.handler.js",
|
||||||
client: "/uv/uv.client.js",
|
client: "/uv/uv.client.js",
|
||||||
bundle: "/uv/uv.bundle.js",
|
bundle: "/uv/uv.bundle.js",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue