diff --git a/web/app/guides/[slug]/page.tsx b/web/app/guides/[slug]/page.tsx index b448677..fe71495 100644 --- a/web/app/guides/[slug]/page.tsx +++ b/web/app/guides/[slug]/page.tsx @@ -3,7 +3,7 @@ import path from "path" import { remark } from "remark" import html from "remark-html" -const guidesDirectory = path.join(process.cwd(), "guides") +const guidesDirectory = path.join(process.cwd(), "..", "guides") async function getGuideContent(slug: string) { const fullPath = path.join(guidesDirectory, `${slug}.md`) @@ -44,3 +44,4 @@ export default async function GuidePage({ params }: { params: { slug: string } } ) } +