Skip to content

Commit

Permalink
fix: Fix wrong redirection on navbar links (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
soniaklimas authored Jan 30, 2025
1 parent 14ecaf2 commit b264789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/infrastructure/src/lib/serializers/cms-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const createMenuItemUrl = (
locale?: string,
): string => {
const baseUrl = locale
? `${process.env.BASE_URL}/${locale}`
? `${process.env.BASE_URL}${locale}`
: process.env.BASE_URL;

if (page?.slug) {
Expand Down

0 comments on commit b264789

Please sign in to comment.