diff --git a/frontend/src/utils/seafile-api.js b/frontend/src/utils/seafile-api.js index b362d27c36..849e5e7e8c 100644 --- a/frontend/src/utils/seafile-api.js +++ b/frontend/src/utils/seafile-api.js @@ -2232,7 +2232,7 @@ class SeafileAPI { } getExdrawToken(repoID, filePath) { - const url = `/api/v2.1/exdraw/access-token/${repoID}/?p=${filePath}`; + const url = this.server + `/api/v2.1/exdraw/access-token/${repoID}/?p=${filePath}`; return this.req.get(url); }