You've already forked obsidian-visualiser
Set markdown renderer as client only to fix hydration issues. Will later try to improve it and set it back as normal
This commit is contained in:
@@ -5,8 +5,7 @@ export default defineCachedEventHandler(async (e) => {
|
||||
try
|
||||
{
|
||||
const project = getRouterParam(e, "projectId");
|
||||
const tag = getRouterParam(e, "tag");
|
||||
const query = getQuery(e);
|
||||
const tag = decodeURIComponent(getRouterParam(e, "tag") ?? '');
|
||||
|
||||
if(!project)
|
||||
{
|
||||
@@ -24,6 +23,8 @@ export default defineCachedEventHandler(async (e) => {
|
||||
|
||||
const db = useDatabase();
|
||||
|
||||
console.log(`SELECT * FROM explorer_tags WHERE ${where.join(" and ")}`, criteria);
|
||||
|
||||
const content = db.query(`SELECT * FROM explorer_tags WHERE ${where.join(" and ")}`).get(criteria) as Tag;
|
||||
|
||||
if(content !== undefined)
|
||||
|
||||
Reference in New Issue
Block a user