summary refs log tree commit diff
path: root/testFrontend/SafeNSound.Frontend/wwwroot/service-worker.js
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-05-31 20:29:51 +0200
committerRory& <root@rory.gay>2025-05-31 20:29:51 +0200
commita3576c6bd765eb3e73f6af311f22923ea8f8fb80 (patch)
tree2708f4fccd52e759d0409352aa66b5dd4814a3ec /testFrontend/SafeNSound.Frontend/wwwroot/service-worker.js
parentGenerate jwt secrets (diff)
downloadnodejs-final-assignment-a3576c6bd765eb3e73f6af311f22923ea8f8fb80.tar.xz
Init test frontend
Diffstat (limited to 'testFrontend/SafeNSound.Frontend/wwwroot/service-worker.js')
-rw-r--r--testFrontend/SafeNSound.Frontend/wwwroot/service-worker.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/testFrontend/SafeNSound.Frontend/wwwroot/service-worker.js b/testFrontend/SafeNSound.Frontend/wwwroot/service-worker.js
new file mode 100644

index 0000000..fe614da --- /dev/null +++ b/testFrontend/SafeNSound.Frontend/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', () => { });