You've already forked obsidian-visualiser
Add Tweening to zoom, fix saving canvas.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { eq, sql } from 'drizzle-orm';
|
||||
import useDatabase from '~/composables/useDatabase';
|
||||
import { explorerContentTable } from '~/db/schema';
|
||||
import { convertContent } from '~/shared/general.utils';
|
||||
import { convertContentFromText } from '~/shared/general.utils';
|
||||
|
||||
export default defineEventHandler(async (e) => {
|
||||
const path = decodeURIComponent(getRouterParam(e, "path") ?? '');
|
||||
@@ -47,7 +47,7 @@ export default defineEventHandler(async (e) => {
|
||||
content.content = convertFromStorableLinks(content.content);
|
||||
}
|
||||
|
||||
return convertContent(content.type, content.content);
|
||||
return convertContentFromText(content.type, content.content);
|
||||
}
|
||||
|
||||
setResponseStatus(e, 404);
|
||||
|
||||
Reference in New Issue
Block a user