renamed "attachment" to "file" for consistency

This commit is contained in:
azivner
2018-03-27 22:11:06 -04:00
parent 913b6bb6f6
commit 7464835058
12 changed files with 75 additions and 75 deletions

View File

@@ -22,7 +22,7 @@ router.get('/:noteId/', auth.checkApiAuthOrElectron, wrap(async (req, res, next)
pack.finalize();
res.setHeader('Content-Disposition', 'attachment; filename="' + name + '.tar"');
res.setHeader('Content-Disposition', 'file; filename="' + name + '.tar"');
res.setHeader('Content-Type', 'application/tar');
pack.pipe(res);