Skip to content

Commit 2df4287

Browse files
authored
Merge pull request #15363 from ethereum/metadata-fix
fix: metadataBase to use SITE_URL
2 parents 90279d9 + 06c1985 commit 2df4287

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/utils/metadata.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Metadata } from "next"
22
import { getTranslations } from "next-intl/server"
33

4-
import { DEFAULT_OG_IMAGE } from "@/lib/constants"
4+
import { DEFAULT_OG_IMAGE, SITE_URL } from "@/lib/constants"
55

66
import { getFullUrl } from "./url"
77

@@ -65,7 +65,7 @@ export const getMetadata = async ({
6565
return {
6666
title,
6767
description,
68-
metadataBase: new URL(url),
68+
metadataBase: new URL(SITE_URL),
6969
alternates: {
7070
canonical: url,
7171
languages: {

0 commit comments

Comments
 (0)