import fs from "fs" import path from "path" async function getChangelog() { const changelogPath = path.join(process.cwd(), "..", "CHANGELOG.md") try { return fs.readFileSync(changelogPath, "utf8") } catch (error) { console.error("Error reading changelog file:", error) return "

Changelog content not found.

" } } export default async function ChangelogPage() { const changelogContent = await getChangelog() return (

Changelog

) }