forked from mystiq/hydrogen-web
add example config for locally testing push notifs/service worker
This commit is contained in:
parent
725098f262
commit
bddf6ba6ae
1 changed files with 7 additions and 0 deletions
|
@ -24,6 +24,13 @@
|
||||||
main(new Platform(document.body, {
|
main(new Platform(document.body, {
|
||||||
worker: "src/worker.js",
|
worker: "src/worker.js",
|
||||||
downloadSandbox: "assets/download-sandbox.html",
|
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: {
|
olm: {
|
||||||
wasm: "lib/olm/olm.wasm",
|
wasm: "lib/olm/olm.wasm",
|
||||||
legacyBundle: "lib/olm/olm_legacy.js",
|
legacyBundle: "lib/olm/olm_legacy.js",
|
||||||
|
|
Loading…
Reference in a new issue