aboutsummaryrefslogtreecommitdiffstats
path: root/ServiceWorker.js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-08-26 18:03:17 +0000
committerMario <mario@mariovavti.com>2021-08-26 18:03:17 +0000
commit6e4c9d684d5fdf9998551c96cdb84e302845a940 (patch)
treeeede5471ae79c75a94e5cbc1e5ecf696f8fc0ef5 /ServiceWorker.js
parent3ff184f8bb7b6043fdfae12be90d0150cd3d27a1 (diff)
downloadvolse-hubzilla-6e4c9d684d5fdf9998551c96cdb84e302845a940.tar.gz
volse-hubzilla-6e4c9d684d5fdf9998551c96cdb84e302845a940.tar.bz2
volse-hubzilla-6e4c9d684d5fdf9998551c96cdb84e302845a940.zip
port latest pwa work from zap
Diffstat (limited to 'ServiceWorker.js')
-rw-r--r--ServiceWorker.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/ServiceWorker.js b/ServiceWorker.js
new file mode 100644
index 000000000..1b84fdfb7
--- /dev/null
+++ b/ServiceWorker.js
@@ -0,0 +1,10 @@
+// This file should be served from the web root to avoid scope and cookie related issues with some browsers
+self.addEventListener('install', function(e) {
+ console.log('install event');
+});
+
+self.addEventListener('fetch', function(e) {
+ // nothing here yet
+ return;
+});
+