mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
renamed "attachment" to "file" for consistency
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user