diff options
author | Rory& <root@rory.gay> | 2024-07-15 13:52:47 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-07-16 09:33:56 +0200 |
commit | f761990225fd98160b52ef90f88b769c0f6b0dc6 (patch) | |
tree | dc6e670d1b28e4ea9399f8584cf24156935b76af /Utilities/LibMatrix.E2eeTestKit/wwwroot/service-worker.js | |
parent | Import unit test fixes from dev/home-changes (diff) | |
download | LibMatrix-dev/e2ee{canonical-json}.tar.xz |
Working json canonicalisation github/dev/e2ee{canonical-json} dev/e2ee{canonical-json}
Diffstat (limited to 'Utilities/LibMatrix.E2eeTestKit/wwwroot/service-worker.js')
-rw-r--r-- | Utilities/LibMatrix.E2eeTestKit/wwwroot/service-worker.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/LibMatrix.E2eeTestKit/wwwroot/service-worker.js b/Utilities/LibMatrix.E2eeTestKit/wwwroot/service-worker.js new file mode 100644 index 0000000..c6d0085 --- /dev/null +++ b/Utilities/LibMatrix.E2eeTestKit/wwwroot/service-worker.js @@ -0,0 +1,4 @@ +// In development, always fetch from the network and do not enable offline support. +// This is because caching would make development more difficult (changes would not +// be reflected on the first load after each change). +self.addEventListener('fetch', () => { }); |