mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-04 04:55:21 +02:00
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 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…
Add table
Add a link
Reference in a new issue