diff options
author | Sebastian <sebasjm@gmail.com> | 2023-06-02 14:25:33 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-06-02 14:25:33 -0300 |
commit | 9853f54201cc4c563b7f3b51564eeab54862a223 (patch) | |
tree | 3e60a6a2e7a618a24266a1259d9d1cbdf01b5b65 /packages/taler-wallet-webextension/src/pwa/sw.js | |
parent | e3ec395b35b8fcff9a6423bb118f14c9649ddcd8 (diff) | |
download | wallet-core-9853f54201cc4c563b7f3b51564eeab54862a223.tar.xz |
from spa to pwa
Diffstat (limited to 'packages/taler-wallet-webextension/src/pwa/sw.js')
-rw-r--r-- | packages/taler-wallet-webextension/src/pwa/sw.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/taler-wallet-webextension/src/pwa/sw.js b/packages/taler-wallet-webextension/src/pwa/sw.js new file mode 100644 index 000000000..2b2219578 --- /dev/null +++ b/packages/taler-wallet-webextension/src/pwa/sw.js @@ -0,0 +1,6 @@ +console.log("sw: Service worker installed"); + +self.addEventListener("fetch", (event) => { + // console.log("fetch event", event); + // event.respondWith(/* custom content goes here */); +}); |