summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index c487165..9264991 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -36,7 +36,7 @@
resourceId = xhr.getResponseHeader("X-Resource-ID");
}
}
- xhr.open("POST", "/" + f.name, true);
+ xhr.open("POST", "/upload", true);
xhr.setRequestHeader("X-Upload-Token", token)
xhr.send(f)
}