diff --git a/web/index.html b/web/index.html index 4e8169e..bd77ad8 100644 --- a/web/index.html +++ b/web/index.html @@ -5,8 +5,8 @@ document.getElementById("result").innerHTML = "Dodawanie pliku..." var data = new FormData() data.append('file', document.getElementById("docpicker").files[0]) - document.getElementById("result").innerHTML = "Proszę chwilę poczekać, zaraz wypluje info o fakturze :)" - resp = await fetch('http://IP_ADDRESS_HERE:80/invoice', {method: "POST", body: data}) + document.getElementById("result").innerHTML = "Przetwarzanie faktury ... " + resp = await fetch('http://54.172.196.142:80/invoice', {method: "POST", body: data}) document.getElementById("result").innerHTML = "Info" data = await resp.json() var result = JSON.stringify(data)