Skip to content

Commit

Permalink
fix(seo): use the real front url of the shop #101
Browse files Browse the repository at this point in the history
  • Loading branch information
akiletour authored Apr 3, 2023
2 parents fd85b89 + 95bf335 commit 8a3e100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/libs/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const RouteLink = {
};

export const getCanonicalUrl = (part: string = ''): string => {
return `https://${process.env.VERCEL_URL}${part}`;
return `${process.env.NEXT_PUBLIC_FRONT_URL}${part}`;
};

export const replaceBackendUrlContent = (content: string): string => {
Expand Down

1 comment on commit 8a3e100

@vercel
Copy link

@vercel vercel bot commented on 8a3e100 Apr 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.