aboutsummaryrefslogtreecommitdiffstats
path: root/ServiceWorker.js
diff options
context:
space:
mode:
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;
+});
+