remove route without filename

This commit is contained in:
Tom
2022-05-09 16:17:14 +02:00
parent 65c725c21e
commit f0f9274a3c
2 changed files with 3 additions and 1 deletions

View File

@@ -110,6 +110,7 @@ function register(router) {
res.send(note.getContent());
});
// :filename is not used by trilium, but instead used for "save as" to assign a human readable filename
router.get('/share/api/images/:noteId/:filename', (req, res, next) => {
shacaLoader.ensureLoad();