diff --git a/templates/upload.html b/templates/upload.html index 13852e79760985f0272866af2032672b65076359..e465fc7323b2b7c9f5132ebef05eac7cb374ae32 100644 --- a/templates/upload.html +++ b/templates/upload.html @@ -44,8 +44,7 @@ img.src = e.target.result; node.appendChild(img); results.appendChild(node); - fetch({ - url: "/upload", + fetch("/upload", { credentials: "include" }).then((response) => { return response.json()