Skip to content

Commit f31b707

Browse files
kiki
authored andcommitted
fix: canonical/og URLs from localhost to noglutenkorea.com (SEO critical)
1 parent 5ac7ad3 commit f31b707

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/layout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const dmSans = DM_Sans({
4747
display: "swap",
4848
});
4949

50-
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || "http://localhost:3000";
50+
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || "https://noglutenkorea.com";
5151
const gaId = "G-YGVMPT7719";
5252
const defaultTitle = "No Gluten Korea | 한국 글루텐프리 레스토랑 & 카페 가이드";
5353
const defaultDescription =

app/place/[slug]/page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export default async function PlaceDetailPage({ params }) {
9393

9494
if (!place) notFound();
9595

96-
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || "http://localhost:3000";
96+
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || "https://noglutenkorea.com";
9797
const displayTypeEn = place.type || "Place";
9898
const displayType = TYPE_MAP[place.type] || place.type || "장소";
9999
const noteEn = place.note || place.note_ko;

0 commit comments

Comments
 (0)