mirror of
https://github.com/thelounge/thelounge
synced 2024-11-22 20:13:07 +00:00
Fix file uploading when lounge is proxied in a subfolder
This commit is contained in:
parent
d999c22df7
commit
7886e831bb
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue