diff options
author | pacien | 2018-07-19 19:29:27 +0200 |
---|---|---|
committer | pacien | 2018-07-19 19:29:27 +0200 |
commit | c2abac11b73efceb02fa199c1deb2ab8d9190d92 (patch) | |
tree | 1d96a2644d159b4ade12b83bf8a2823f94c5380c | |
parent | d9d62a36797c8aebe5b2b4c9ceb3bffb5c956dbe (diff) | |
download | beamer-viewer-c2abac11b73efceb02fa199c1deb2ab8d9190d92.tar.gz |
Change app root
-rw-r--r-- | appcache.js | 4 | ||||
-rw-r--r-- | index.html (renamed from viewer.html) | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/appcache.js b/appcache.js index 87d5e80..22e347a 100644 --- a/appcache.js +++ b/appcache.js | |||
@@ -11,7 +11,7 @@ class AppCache { | |||
11 | constructor() { | 11 | constructor() { |
12 | this.cacheName = "cache"; | 12 | this.cacheName = "cache"; |
13 | this.filesToCache = [ | 13 | this.filesToCache = [ |
14 | "viewer.html", | 14 | ".", |
15 | "appcache.js", | 15 | "appcache.js", |
16 | 16 | ||
17 | "pointless/pdfjs/pdf.js", | 17 | "pointless/pdfjs/pdf.js", |
@@ -51,7 +51,7 @@ class AppCache { | |||
51 | return caches.open(this.cacheName).then(function(cache) { | 51 | return caches.open(this.cacheName).then(function(cache) { |
52 | return fetch(request).then(function(response) { | 52 | return fetch(request).then(function(response) { |
53 | cache.put(request, response.clone()); | 53 | cache.put(request, response.clone()); |
54 | return response | 54 | return response; |
55 | }); | 55 | }); |
56 | }); | 56 | }); |
57 | } | 57 | } |
@@ -1,7 +1,7 @@ | |||
1 | <!doctype html> | 1 | <!doctype html> |
2 | 2 | ||
3 | <!-- | 3 | <!-- |
4 | viewer.html | 4 | index.html |
5 | Part of Pointless Viewer, a Beamer presentation viewer | 5 | Part of Pointless Viewer, a Beamer presentation viewer |
6 | Copyright 2018 Pacien TRAN-GIRARD | 6 | Copyright 2018 Pacien TRAN-GIRARD |
7 | License: GNU GPL v3 | 7 | License: GNU GPL v3 |