From b2131b547d80b283ef71fcf5cf2f30427ca21637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szymon=20Parafin=CC=81ski?= Date: Mon, 30 Jan 2023 18:47:53 +0100 Subject: [PATCH] update index.html --- web/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)