update sw localtion for 404

This commit is contained in:
Ilya Kreymer
2020-04-29 13:07:00 -07:00
parent 7ca7cf4601
commit 72f60a0ccf
+1 -1
View File
@@ -1045,7 +1045,7 @@ class WrCollProxy extends LitElement
// ===========================================================================
async function main() {
const swPromise = initSW("./swonly.js?replayPrefix=wabac&stats=true");
const swPromise = initSW("/swonly.js?replayPrefix=wabac&stats=true");
await swPromise;
customElements.define("app-main", AppMain);
customElements.define("wr-index", WrIndex);