add example config for locally testing push notifs/service worker

This commit is contained in:
Bruno Windels 2021-03-18 20:52:50 +01:00
parent 725098f262
commit bddf6ba6ae

View file

@ -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",