add prefix
This commit is contained in:
parent
d7c883feca
commit
f380f4455d
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ const apiReq = {
|
|||
const response = await this.get(url);
|
||||
const token = response.data.fileToken;
|
||||
|
||||
const tokenURL = prefix + "utils/download?token=" + token;
|
||||
const tokenURL = prefix + "/utils/download?token=" + token;
|
||||
window.open(tokenURL, "_blank");
|
||||
return response.data;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue