From ad7f18db04d94b3222979e42bcee59df339956e9 Mon Sep 17 00:00:00 2001 From: dzikafoczka Date: Sun, 22 Dec 2024 15:07:39 +0100 Subject: [PATCH] test --- ec2.py | 2 +- static/scripts.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ec2.py b/ec2.py index fad1632..59046a4 100644 --- a/ec2.py +++ b/ec2.py @@ -229,7 +229,7 @@ def create_js_scripts(ip): if (file) { const formData = new FormData(); formData.append('file', file); - fetch('http://""" + ip + """/invoice', { + fetch('http://""" + ip + """:8080/invoice', { method: 'POST', body: formData, }) diff --git a/static/scripts.js b/static/scripts.js index bfb1905..ae55eeb 100644 --- a/static/scripts.js +++ b/static/scripts.js @@ -8,7 +8,7 @@ if (file) { const formData = new FormData(); formData.append('file', file); - fetch('http://127.0.0.1/invoice', { + fetch('http://127.0.0.1:8080/invoice', { method: 'POST', body: formData, })