Fix file uploading when lounge is proxied in a subfolder
This commit is contained in:
parent
d999c22df7
commit
7886e831bb
@ -162,7 +162,7 @@ class Uploader {
|
|||||||
|
|
||||||
const formData = new FormData();
|
const formData = new FormData();
|
||||||
formData.append("file", file);
|
formData.append("file", file);
|
||||||
xhr.open("POST", `/uploads/new/${token}`);
|
xhr.open("POST", `uploads/new/${token}`);
|
||||||
xhr.send(formData);
|
xhr.send(formData);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user