Skip to content

Commit e74a0b0

Browse files
committed
No garbage logs
1 parent 84f0a32 commit e74a0b0

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

app/utils/docs.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,6 @@ export const fetchDocs = createServerFn({ method: 'GET' })
6666
const frontMatter = extractFrontMatter(file)
6767
const description = removeMarkdown(frontMatter.excerpt ?? '')
6868

69-
console.log({
70-
title: frontMatter.data?.title,
71-
description,
72-
filePath,
73-
// content: frontMatter.content,
74-
})
75-
7669
// Cache for 5 minutes on shared cache
7770
// Revalidate in the background
7871
setHeader('Cache-Control', 'public, max-age=0, must-revalidate')

0 commit comments

Comments
 (0)