From bddf6ba6ae9f9e88c043b924e128a2f64f8a174c Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 18 Mar 2021 20:52:50 +0100 Subject: [PATCH] add example config for locally testing push notifs/service worker --- index.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.html b/index.html index 55e7f0b2..e5746572 100644 --- a/index.html +++ b/index.html @@ -24,6 +24,13 @@ main(new Platform(document.body, { worker: "src/worker.js", downloadSandbox: "assets/download-sandbox.html", + // ln -s src/platform/web/service-worker.template.js sw.js + // serviceWorker: "sw.js", + // push: { + // appId: "io.element.hydrogen.web", + // gatewayUrl: "...", + // applicationServerKey: "...", + // }, olm: { wasm: "lib/olm/olm.wasm", legacyBundle: "lib/olm/olm_legacy.js",