diff --git a/templates/upload.html b/templates/upload.html index c3874009f2c23dea41435fc6a87b1a0caa2f73ae..aa9817329a3b1ace61fe16fa4c4310774cc01c9a 100644 --- a/templates/upload.html +++ b/templates/upload.html @@ -45,6 +45,7 @@ node.appendChild(img); results.appendChild(node); fetch("/upload", { + method: "POST", credentials: "same-origin" }).then((response) => { return response.json()