about summary refs log tree commit diff
path: root/MatrixRoomUtils.Web/wwwroot/service-worker.js
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-01-24 16:55:14 +0100
committerRory& <root@rory.gay>2024-01-24 16:55:14 +0100
commit01f4275f318b973da1066db99f1676d362fa3076 (patch)
tree345b20ce96ffa5602ad5f7b10e8389f97041e786 /MatrixRoomUtils.Web/wwwroot/service-worker.js
parentRemoval of download links due to maintenance burden (diff)
downloadMatrixUtils-01f4275f318b973da1066db99f1676d362fa3076.tar.xz
Make RMU installable
Diffstat (limited to 'MatrixRoomUtils.Web/wwwroot/service-worker.js')
-rw-r--r--MatrixRoomUtils.Web/wwwroot/service-worker.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/MatrixRoomUtils.Web/wwwroot/service-worker.js b/MatrixRoomUtils.Web/wwwroot/service-worker.js
new file mode 100644
index 0000000..c6d0085
--- /dev/null
+++ b/MatrixRoomUtils.Web/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', () => { });