download zip files only
gitea/salix/master This commit looks good
Details
gitea/salix/master This commit looks good
Details
This commit is contained in:
parent
af9eb0c4ea
commit
527492a859
|
@ -60,6 +60,6 @@ module.exports = Self => {
|
||||||
|
|
||||||
const stream = await models.Container.downloadStream(file.container, file.name);
|
const stream = await models.Container.downloadStream(file.container, file.name);
|
||||||
|
|
||||||
return [stream, file.contentType, `inline; filename="${file.name}"`];
|
return [stream, file.contentType, `filename="${file.name}"`];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue