needed cors proxy

This commit is contained in:
2025-11-26 22:19:21 +00:00
parent fdcf232f8e
commit 6ffc5c1e8a

View File

@@ -185,7 +185,7 @@ export default class Updater {
public async getFirmware(version: versionNotes): Promise<boolean> { public async getFirmware(version: versionNotes): Promise<boolean> {
try { try {
const res = await fetch(`${this.archiveURL}/download/${version.title}/firmware.bin`); const res = await fetch(`http://cors.emaker.limited/?url=${this.archiveURL}/download/${version.title}/firmware.bin`);
let buf = await res.arrayBuffer(); let buf = await res.arrayBuffer();
this.file = new Int8Array(buf); this.file = new Int8Array(buf);
return true; return true;