Fix more links (#2577)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2023-02-02 15:01:01 +07:00
committed by GitHub
parent 2a2705f6fe
commit dd7ee1c362
5 changed files with 10 additions and 7 deletions
+2 -1
View File
@@ -6,6 +6,7 @@ import core, {
ApplyOperations,
AttachedDoc,
Class,
concatLink,
Data,
Doc,
DocumentUpdate,
@@ -149,7 +150,7 @@ export async function syncPlatform (
const data = new FormData()
data.append('file', ed)
const resp = await fetch(frontUrl + '/files', {
const resp = await fetch(concatLink(frontUrl, '/files'), {
method: 'POST',
headers: {
Authorization: 'Bearer ' + info.token