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