Skip to content
Snippets Groups Projects
Commit 735a674a authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Improved upload API

parent a19aa64d
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,7 @@
node.appendChild(img);
results.appendChild(node);
fetch("/upload", {
method: "POST",
credentials: "same-origin"
}).then((response) => {
return response.json()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment