add prefix

This commit is contained in:
hay-kot 2021-06-14 22:07:17 -08:00
parent d7c883feca
commit f380f4455d

View file

@ -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;
},