mirror of
https://github.com/lordfriky/web-cfw-loader.git
synced 2025-02-27 14:03:57 +00:00
debugging
This commit is contained in:
parent
90c7ee86d1
commit
9fb12432de
1
main.js
1
main.js
@ -152,6 +152,7 @@ document.getElementById("goButton").addEventListener("click", async () => {
|
|||||||
alert("You need to upload a file, to use an uploaded file.");
|
alert("You need to upload a file, to use an uploaded file.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
logOutput("Using uploaded payload \"" + file + "\"");
|
||||||
payload = new Uint8Array(await readFileAsArrayBuffer(file));
|
payload = new Uint8Array(await readFileAsArrayBuffer(file));
|
||||||
} else {
|
} else {
|
||||||
logOutput("<span style='color:red'>You're trying to load a payload type that doesn't exist.</span>");
|
logOutput("<span style='color:red'>You're trying to load a payload type that doesn't exist.</span>");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user