diff --git a/client/js/upload.js b/client/js/upload.js index 6a7af160..1eeac5e3 100644 --- a/client/js/upload.js +++ b/client/js/upload.js @@ -162,7 +162,7 @@ class Uploader { const formData = new FormData(); formData.append("file", file); - xhr.open("POST", `/uploads/new/${token}`); + xhr.open("POST", `uploads/new/${token}`); xhr.send(formData); }