fix upload

# Conflicts:
#	rust/src/webserver/webserver.rs
This commit is contained in:
2024-08-12 21:17:16 +02:00
parent ca26f090fa
commit 7415e74643
4 changed files with 23 additions and 22 deletions

View File

@@ -33,6 +33,9 @@ ajax.addEventListener("abort", () => {
battery_flash_button.onclick = async function (){
ajax.open("POST", "/flashbattery");
//ajax.open("POST", "/flashbattery");
//ajax.send(battery_flash_file.files[0]);
ajax.open("POST", "/flashbattery?flash=true");
ajax.send(battery_flash_file.files[0]);
};