Update main.js
parent
71ded9b78b
commit
d2167a4e34
1
main.js
1
main.js
|
@ -111,6 +111,7 @@ document.getElementById("goButton").addEventListener("click", async () => {
|
|||
if(debugCheckbox.checked) {
|
||||
if (payloadType === "uploaded") {
|
||||
const file = document.getElementById("payloadUpload").files[0];
|
||||
file = new Uint8Array(await readFileAsArrayBuffer(file));
|
||||
} else if (payloadType === "fusee.bin") {
|
||||
const file = fusee;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue