mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
upgrade to ckeditor 12.1.0 which fixes some upload issues
This commit is contained in:
@@ -14,7 +14,7 @@ async function returnImage(req, res) {
|
||||
else if (image.type !== 'image') {
|
||||
return res.sendStatus(400);
|
||||
}
|
||||
else if (image.data === null) {
|
||||
else if (image.isDeleted || image.data === null) {
|
||||
res.set('Content-Type', 'image/png');
|
||||
return res.send(fs.readFileSync(RESOURCE_DIR + '/db/image-deleted.png'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user