Use withoutEnlargement for more consistency

This commit is contained in:
e01
2020-10-19 20:56:14 +03:00
parent 8e4904f9c9
commit d776bb826d
9 changed files with 10 additions and 10 deletions

View File

@@ -117,7 +117,6 @@ router.get(
res.attachment(file.filename_download);
res.setHeader('Content-Type', file.type);
res.removeHeader('Content-Disposition');
if (req.query.hasOwnProperty('download') === false) {
res.removeHeader('Content-Disposition');