From a19aa64df1bea71ffd8215dc4c49a55cbb6c6375 Mon Sep 17 00:00:00 2001 From: Janne Koschinski <janne@kuschku.de> Date: Sun, 18 Mar 2018 18:16:37 +0100 Subject: [PATCH] Improved upload API --- templates/upload.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/upload.html b/templates/upload.html index e465fc7..c387400 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) => { -- GitLab