about summary refs log tree commit diff
path: root/Utilities/LibMatrix.E2eeTestKit/wwwroot/service-worker.js
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-07-15 13:52:47 +0200
committerRory& <root@rory.gay>2024-07-16 09:33:56 +0200
commitf761990225fd98160b52ef90f88b769c0f6b0dc6 (patch)
treedc6e670d1b28e4ea9399f8584cf24156935b76af /Utilities/LibMatrix.E2eeTestKit/wwwroot/service-worker.js
parentImport unit test fixes from dev/home-changes (diff)
downloadLibMatrix-f761990225fd98160b52ef90f88b769c0f6b0dc6.tar.xz
Diffstat (limited to 'Utilities/LibMatrix.E2eeTestKit/wwwroot/service-worker.js')
-rw-r--r--Utilities/LibMatrix.E2eeTestKit/wwwroot/service-worker.js4
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', () => { });