1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Fixed some editor image/drawing upload endpoints

Fixes #1428
This commit is contained in:
Dan Brown
2019-05-07 22:23:44 +01:00
parent 4329fee2c9
commit 7ef059e254
2 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ async function uploadImageFile(file, wysiwygComponent) {
formData.append('file', file, remoteFilename);
formData.append('uploaded_to', wysiwygComponent.pageId);
const resp = await window.$http.post(window.baseUrl('/images/gallery/upload'), formData);
const resp = await window.$http.post(window.baseUrl('/images/gallery'), formData);
return resp.data;
}