From d819cf5c15c26ae0e7128b8a1230c65201fa4d0e Mon Sep 17 00:00:00 2001 From: Felix Bartels Date: Thu, 19 Dec 2019 15:45:51 +0100 Subject: also fix paths in worker.js Signed-off-by: Felix Bartels --- worker.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/worker.js b/worker.js index 32aca25..a887a0a 100644 --- a/worker.js +++ b/worker.js @@ -4,13 +4,13 @@ self.addEventListener('install', event => { .open('homer') .then(cache => cache.addAll([ - '/', - '/index.html', - '/config.yml', - '/app.css', - '/app.js', - '/vendors/js-yaml.min.js', - '/assets/logo.png', + '.', + 'index.html', + 'config.yml', + 'app.css', + 'app.js', + 'vendors/js-yaml.min.js', + 'assets/logo.png', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css', 'https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.min.css', 'https://fonts.googleapis.com/css?family=Lato|Raleway&display=swap', -- cgit v1.2.3