diff --git a/app/src/modules/files/routes/item.vue b/app/src/modules/files/routes/item.vue index abf1a8c49b..a3d3983889 100644 --- a/app/src/modules/files/routes/item.vue +++ b/app/src/modules/files/routes/item.vue @@ -417,7 +417,7 @@ export default defineComponent({ } function downloadFile() { - const filePath = getRootPath() + `assets/${props.primaryKey}?download`; + const filePath = addTokenToURL(getRootPath() + `assets/${props.primaryKey}?download`); window.open(filePath, '_blank'); }