mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
share: Render mind map
This commit is contained in:
@@ -279,6 +279,8 @@ function register(router: Router) {
|
||||
renderImageAttachment(image, res, 'canvas-export.svg');
|
||||
} else if (image.type === 'mermaid') {
|
||||
renderImageAttachment(image, res, 'mermaid-export.svg');
|
||||
} else if (image.type === "mindMap") {
|
||||
renderImageAttachment(image, res, 'mindmap-export.svg');
|
||||
} else {
|
||||
return res.status(400)
|
||||
.json({ message: "Requested note is not a shareable image" });
|
||||
|
||||
Reference in New Issue
Block a user