From 48235622fa55d6e6decdee75bb279b1d10079612 Mon Sep 17 00:00:00 2001 From: hanyugeon Date: Wed, 31 Jul 2024 00:38:53 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=84=A4=EB=B9=84=EA=B2=8C=EC=9D=B4?= =?UTF-8?q?=EC=85=98=20=EC=8A=A4=ED=82=A4=EB=A7=88=EC=9D=98=20url=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/constants/metadata/schema.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/constants/metadata/schema.ts b/src/constants/metadata/schema.ts index d05c5aa7..a0ccf51e 100644 --- a/src/constants/metadata/schema.ts +++ b/src/constants/metadata/schema.ts @@ -1,4 +1,4 @@ -const baseUrl = new URL(`${process.env.NEXT_HOST}`); +import { DEPLOYMENT_URL } from '@/constants/url'; export const navigationSchemaItems = [ { @@ -7,7 +7,7 @@ export const navigationSchemaItems = [ name: '북카이브', description: '같은 직군인 유저들의 책장과 인기 도서를 추천받고 인사이트를 넓혀보세요', - url: `${baseUrl}bookarchive`, + url: `${DEPLOYMENT_URL}/bookarchive`, }, { '@type': 'SiteNavigationElement', @@ -15,7 +15,7 @@ export const navigationSchemaItems = [ name: '도서검색', description: '평소에 궁금했거나 함께 이야기 나누고 싶은 도서를 검색해보세요', - url: `${baseUrl}book/search`, + url: `${DEPLOYMENT_URL}/book/search`, }, { '@type': 'SiteNavigationElement', @@ -23,13 +23,13 @@ export const navigationSchemaItems = [ name: '독서모임', description: '읽고 싶은 책을 선정하고 모임에 참여하여 멤버들과 이야기를 나눠보세요', - url: `${baseUrl}group`, + url: `${DEPLOYMENT_URL}/group`, }, { '@type': 'SiteNavigationElement', position: 4, name: '내프로필', description: '내 책장을 관리하고 참여한 독서 모임들을 확인해보세요', - url: `${baseUrl}profile/me`, + url: `${DEPLOYMENT_URL}/profile/me`, }, ];