mirror of
https://github.com/lordfriky/web-cfw-loader.git
synced 2025-01-18 18:41:28 +00:00
Update main.js
This commit is contained in:
parent
703505cf6b
commit
72af5b8f11
2
main.js
2
main.js
@ -163,7 +163,6 @@ document.getElementById("goButton").addEventListener("click", async () => {
|
||||
|
||||
} else if (payloadType === "uploaded") {
|
||||
const file = document.getElementById("payloadUpload").files[0];
|
||||
console.log(document.getElementById("payloadUpload").files[0]);
|
||||
if (!file) {
|
||||
alert("You need to upload a file, to use an uploaded file.");
|
||||
return;
|
||||
@ -185,6 +184,7 @@ document.getElementById("goButton").addEventListener("click", async () => {
|
||||
}
|
||||
payloadToLog = payloadToLog;
|
||||
logOutput(payloadToLog);
|
||||
console.log(document.getElementById("payloadUpload").files[0]);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user