This commit is contained in:
dzikafoczka 2024-12-22 15:07:39 +01:00
parent fb49e14b01
commit ad7f18db04
2 changed files with 2 additions and 2 deletions

2
ec2.py
View File

@ -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,
})

View File

@ -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,
})