mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-05-13 07:38:27 -05: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