From f37cab9cc661e5876245a2ec008e77ff0887d36c Mon Sep 17 00:00:00 2001 From: Jonas Weinz Date: Thu, 21 Mar 2019 15:55:00 +0100 Subject: [PATCH] settings inside service worker --- sw.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sw.js b/sw.js index 8368e3c..40a393e 100644 --- a/sw.js +++ b/sw.js @@ -1,4 +1,7 @@ +var home = "https://the-cake-is-a-lie.net/website/ultimate_tictactoe/"; +var rel_home = "/website/ultimate_tictactoe"; + self.addEventListener('install', function (e) { e.waitUntil( caches.open('your-magic-cache').then(function (cache) {