fix sw for build

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