mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 16:25:51 +01:00
Merge branch 'develop' into chore_lint-share
This commit is contained in:
@@ -138,6 +138,7 @@ function renderImageAttachment(image: SNote, res: Response, attachmentName: stri
|
||||
function register(router: Router) {
|
||||
function renderNote(note: SNote, req: Request, res: Response) {
|
||||
if (!note) {
|
||||
console.log("Unable to find note ", note);
|
||||
res.status(404).render("share/404");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user