server-esm: Fix a few more import issues

This commit is contained in:
Elian Doran
2024-07-18 22:33:36 +03:00
parent ad93fe4b75
commit 8ac8f6c2df
3 changed files with 8 additions and 7 deletions

View File

@@ -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));