Skip to content

Commit

Permalink
fix: added slash for canonical
Browse files Browse the repository at this point in the history
  • Loading branch information
thedaviddias committed Feb 11, 2025
1 parent 1bd0d54 commit ba5ccdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/[lang]/[[...mdxPath]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export async function generateMetadata({ params }): Promise<Metadata> {
}],
},
alternates: {
canonical: `${baseUrl}/en/${path ? `/${path}` : ''}`,
canonical: `${baseUrl}/en/${path ? `${path}` : ''}`,
},
}
}
Expand Down

0 comments on commit ba5ccdc

Please sign in to comment.