mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-07-06 15:36:53 +00:00
Update page.tsx
This commit is contained in:
parent
7f8bd86c5c
commit
aadd63634b
@ -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 } }
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user