diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2019-12-27 10:38:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-27 10:38:52 -0800 |
commit | 5738264ea00221c0ca128d5e7f74d31a8ec0490c (patch) | |
tree | add32e4d4e5a204d2de78430a394446878053150 /worker.js | |
parent | 05bdc2680193564dbb8acbd85aa8d79eeec546f5 (diff) | |
parent | d819cf5c15c26ae0e7128b8a1230c65201fa4d0e (diff) | |
download | homer-5738264ea00221c0ca128d5e7f74d31a8ec0490c.tar.gz homer-5738264ea00221c0ca128d5e7f74d31a8ec0490c.tar.zst homer-5738264ea00221c0ca128d5e7f74d31a8ec0490c.zip |
Merge pull request #8 from fbartels/subdir
Allow running Homer in a subdirectory
Diffstat (limited to 'worker.js')
-rw-r--r-- | worker.js | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -4,13 +4,13 @@ self.addEventListener('install', event => { | |||
4 | .open('homer') | 4 | .open('homer') |
5 | .then(cache => | 5 | .then(cache => |
6 | cache.addAll([ | 6 | cache.addAll([ |
7 | '/', | 7 | '.', |
8 | '/index.html', | 8 | 'index.html', |
9 | '/config.yml', | 9 | 'config.yml', |
10 | '/app.css', | 10 | 'app.css', |
11 | '/app.js', | 11 | 'app.js', |
12 | '/vendors/js-yaml.min.js', | 12 | 'vendors/js-yaml.min.js', |
13 | '/assets/logo.png', | 13 | 'assets/logo.png', |
14 | 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css', | 14 | 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css', |
15 | 'https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.min.css', | 15 | 'https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.min.css', |
16 | 'https://fonts.googleapis.com/css?family=Lato|Raleway&display=swap', | 16 | 'https://fonts.googleapis.com/css?family=Lato|Raleway&display=swap', |