From 735a674a16134aac5d9ffed58c7e1aef5d71c4a1 Mon Sep 17 00:00:00 2001
From: Janne Koschinski <janne@kuschku.de>
Date: Sun, 18 Mar 2018 18:18:26 +0100
Subject: [PATCH] Improved upload API

---
 templates/upload.html | 1 +
 1 file changed, 1 insertion(+)

diff --git a/templates/upload.html b/templates/upload.html
index c387400..aa98173 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()
-- 
GitLab