Finally (???) fix the hydration issues with a markdown renderer in SSR

This commit is contained in:
2024-09-09 16:32:11 +02:00
parent cbef6d1289
commit 6550042751
4 changed files with 13 additions and 30 deletions

View File

@@ -22,9 +22,6 @@ export default defineCachedEventHandler(async (e) => {
const criteria: Record<string, any> = { $project: project, $tag: tag };
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)