Fix file uploading when lounge is proxied in a subfolder

This commit is contained in:
Pavel Djundik 2019-06-14 00:58:19 +03:00
parent d999c22df7
commit 7886e831bb

View file

@ -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);
}