Spaces:
Running
Running
Deploy pagefold to the hub
Browse files- pagefold/index.html +1 -1
- pagefold/sw.js +1 -1
pagefold/index.html
CHANGED
|
@@ -137,5 +137,5 @@
|
|
| 137 |
<script src="vendor/pdf-lib.min.js"></script>
|
| 138 |
<script src="fold.js"></script>
|
| 139 |
<script type="module" src="app.js"></script>
|
| 140 |
-
<
|
| 141 |
</html>
|
|
|
|
| 137 |
<script src="vendor/pdf-lib.min.js"></script>
|
| 138 |
<script src="fold.js"></script>
|
| 139 |
<script type="module" src="app.js"></script>
|
| 140 |
+
</body>
|
| 141 |
</html>
|
pagefold/sw.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/* Pagebraid offline cache. © 2026 CyberMax. All rights reserved. */
|
| 2 |
-
var CACHE = "
|
| 3 |
var FILES = ["./", "index.html", "style.css", "fold.css", "fold.js", "app.js", "vendor/pdf-lib.min.js", "vendor/pdf.min.js", "vendor/pdf.worker.min.js", "manifest.webmanifest", "icon.svg", "icon-192.png", "icon-512.png"];
|
| 4 |
self.addEventListener("install", function (e) {
|
| 5 |
e.waitUntil(caches.open(CACHE).then(function (c) { return c.addAll(FILES); }).then(function () { return self.skipWaiting(); }));
|
|
|
|
| 1 |
/* Pagebraid offline cache. © 2026 CyberMax. All rights reserved. */
|
| 2 |
+
var CACHE = "pagebraid-v2";
|
| 3 |
var FILES = ["./", "index.html", "style.css", "fold.css", "fold.js", "app.js", "vendor/pdf-lib.min.js", "vendor/pdf.min.js", "vendor/pdf.worker.min.js", "manifest.webmanifest", "icon.svg", "icon-192.png", "icon-512.png"];
|
| 4 |
self.addEventListener("install", function (e) {
|
| 5 |
e.waitUntil(caches.open(CACHE).then(function (c) { return c.addAll(FILES); }).then(function () { return self.skipWaiting(); }));
|