Update SHA256 sums fetch URL to dynamic path

This commit is contained in:
Alexey Olendor
2025-12-23 22:52:39 +03:00
committed by GitHub
parent 1c912a96e9
commit 46eed36b28
+1 -1
View File
@@ -566,7 +566,7 @@ disclaimerCheckbox.addEventListener('change', async (inputEvent) => {
try {
const file = e.target.files[0];
if (file) {
const sha256sums = (await (await fetch("https://cdn.dos.zone/vcsky/sha256sums.txt")).text()).toLowerCase();
const sha256sums = (await (await fetch(`${replaceFetch.to}sha256sums.txt`)).text()).toLowerCase();
const arrayBuffer = await file.arrayBuffer();
if (window.crypto && window.crypto.subtle) {
const hashBuffer = await window.crypto.subtle.digest('SHA-256', arrayBuffer);