test
This commit is contained in:
parent
9b4d51c256
commit
d3a66b39b6
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,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user