Skip to content

Commit ba5ccdc

Browse files
committed
fix: added slash for canonical
1 parent 1bd0d54 commit ba5ccdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/[lang]/[[...mdxPath]]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export async function generateMetadata({ params }): Promise<Metadata> {
4646
}],
4747
},
4848
alternates: {
49-
canonical: `${baseUrl}/en/${path ? `/${path}` : ''}`,
49+
canonical: `${baseUrl}/en/${path ? `${path}` : ''}`,
5050
},
5151
}
5252
}

0 commit comments

Comments
 (0)