mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-10 20:17:32 +01:00
add example config for locally testing push notifs/service worker
This commit is contained in:
parent
725098f262
commit
bddf6ba6ae
@ -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…
x
Reference in New Issue
Block a user