Remove JS errors
This commit is contained in:
parent
5fac72bb46
commit
952f2ec584
1 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,7 @@ async function uplaodfnc() {
|
||||||
fdata.append("reptype", "json");
|
fdata.append("reptype", "json");
|
||||||
console.log(fdata);
|
console.log(fdata);
|
||||||
|
|
||||||
const response = await fetch("/upload/", {
|
response = await fetch("/upload/", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: fdata,
|
body: fdata,
|
||||||
});
|
});
|
||||||
|
|
@ -114,7 +114,7 @@ async function uplaodfnc() {
|
||||||
fdata.append("end","end")
|
fdata.append("end","end")
|
||||||
console.log(fdata);
|
console.log(fdata);
|
||||||
|
|
||||||
const response = await fetch("/upload/", {
|
response = await fetch("/upload/", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: fdata,
|
body: fdata,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue