summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2021-04-11 23:25:22 -0400
committerDaniel Micay <danielmicay@gmail.com>2021-04-11 23:25:22 -0400
commit747020407bcf401552b472b70db0cd53acfc0557 (patch)
treea583356a523bc2cf7afe1d422d05e9fb84f2a391 /static
parent7262cb57330d6f89f28ed419c174153e3156369f (diff)
add version to fastboot.js library path
Diffstat (limited to 'static')
-rw-r--r--static/install/web.html2
-rw-r--r--static/js/web-install.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/static/install/web.html b/static/install/web.html
index db9c2e4e..6df7d5d2 100644
--- a/static/install/web.html
+++ b/static/install/web.html
@@ -27,7 +27,7 @@
<link rel="manifest" href="/manifest.webmanifest"/>
<link rel="license" href="/LICENSE.txt"/>
<script type="module" src="/js/redirect.js"></script>
- <script type="module" src="/js/fastboot/dist/fastboot.min.mjs?1.0.9"></script>
+ <script type="module" src="/js/fastboot/v1.0.9/fastboot.min.mjs"></script>
<script type="module" src="/js/web-install.js"></script>
</head>
<body>
diff --git a/static/js/web-install.js b/static/js/web-install.js
index c6b096d0..838dd6d6 100644
--- a/static/js/web-install.js
+++ b/static/js/web-install.js
@@ -1,6 +1,6 @@
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT
-import * as fastboot from "./fastboot/dist/fastboot.min.mjs?1.0.9";
+import * as fastboot from "./fastboot/v1.0.9/fastboot.min.mjs";
const RELEASES_URL = "https://releases.grapheneos.org";
@@ -295,7 +295,7 @@ fastboot.setDebugLevel(2);
fastboot.configureZip({
workerScripts: {
- inflate: ["/js/fastboot/dist/vendor/z-worker-pako.js", "pako_inflate.min.js"],
+ inflate: ["/js/fastboot/v1.0.9/vendor/z-worker-pako.js", "pako_inflate.min.js"],
},
});