mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-09 03:04:54 -04:00
add prefix
This commit is contained in:
parent
d7c883feca
commit
f380f4455d
@ -112,7 +112,7 @@ const apiReq = {
|
|||||||
const response = await this.get(url);
|
const response = await this.get(url);
|
||||||
const token = response.data.fileToken;
|
const token = response.data.fileToken;
|
||||||
|
|
||||||
const tokenURL = prefix + "utils/download?token=" + token;
|
const tokenURL = prefix + "/utils/download?token=" + token;
|
||||||
window.open(tokenURL, "_blank");
|
window.open(tokenURL, "_blank");
|
||||||
return response.data;
|
return response.data;
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user