test
This commit is contained in:
parent
fb49e14b01
commit
ad7f18db04
2
ec2.py
2
ec2.py
@ -229,7 +229,7 @@ def create_js_scripts(ip):
|
|||||||
if (file) {
|
if (file) {
|
||||||
const formData = new FormData();
|
const formData = new FormData();
|
||||||
formData.append('file', file);
|
formData.append('file', file);
|
||||||
fetch('http://""" + ip + """/invoice', {
|
fetch('http://""" + ip + """:8080/invoice', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: formData,
|
body: formData,
|
||||||
})
|
})
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
if (file) {
|
if (file) {
|
||||||
const formData = new FormData();
|
const formData = new FormData();
|
||||||
formData.append('file', file);
|
formData.append('file', file);
|
||||||
fetch('http://127.0.0.1/invoice', {
|
fetch('http://127.0.0.1:8080/invoice', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: formData,
|
body: formData,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user