Revela-Frontend/public/uv/uv.config.js
David Reed d75d7fde3a
correct SW field
config.sw should point to uv.sw.js, not the stock sw.js
we now use a fixed path in register-sw.js
2022-12-03 15:51:18 -05:00

12 lines
316 B
JavaScript

// This file overwrites the stock UV config.js
self.__uv$config = {
prefix: "/uv/service/",
bare: "/bare/",
encodeUrl: Ultraviolet.codec.xor.encode,
decodeUrl: Ultraviolet.codec.xor.decode,
handler: "/uv/uv.handler.js",
bundle: "/uv/uv.bundle.js",
config: "/uv/uv.config.js",
sw: "/uv/uv.sw.js",
};