We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de438f1 commit ed9f71dCopy full SHA for ed9f71d
1 file changed
app/docs/[[...slug]]/page.tsx
@@ -56,7 +56,7 @@ export async function generateMetadata({
56
try {
57
// Get the absolute path from the page info
58
const filePath = page.file.path;
59
- const absolutePath = `/Volumes/T9_1/Git/deploy.my/documentation/docs/${filePath}`;
+ const absolutePath = `./docs/${filePath}`;
60
const rawContent = await readFile(absolutePath, 'utf-8');
61
finalTitle = getFinalPageTitle(rawContent, page.data.title);
62
} catch (error) {
0 commit comments