mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Use withoutEnlargement for more consistency
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user