mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
server-esm: Fix a few more import issues
This commit is contained in:
@@ -250,8 +250,6 @@ function register(router: Router) {
|
||||
|
||||
addNoIndexHeader(note, res);
|
||||
|
||||
const utils = require('../services/utils');
|
||||
|
||||
const filename = utils.formatDownloadTitle(note.title, note.type, note.mime);
|
||||
|
||||
res.setHeader('Content-Disposition', utils.getContentDisposition(filename));
|
||||
|
||||
Reference in New Issue
Block a user