diff --git a/.github/workflows/baguni.test.client.deploy.yml b/.github/workflows/baguni.test.client.deploy.yml index e3dfad020..37e61bb7e 100644 --- a/.github/workflows/baguni.test.client.deploy.yml +++ b/.github/workflows/baguni.test.client.deploy.yml @@ -31,7 +31,7 @@ jobs: echo "NEXT_PUBLIC_DOMAIN=${{ secrets.FRONT_NEXT_PUBLIC_DOMAIN }}" >> .env.production echo "NEXT_PUBLIC_REDIRECT_URL=${{secrets.FRONT_NEXT_PUBLIC_REDIRECT_URL}}" >> .env.production echo "NEXT_PUBLIC_MIXPANEL_TOKEN=${{secrets.FRONT_NEXT_PUBLIC_MIXPANEL_TOKEN}}" >> .env.production - echo "NEXT_NEXT_PUBLIC_IMAGE_URL=${{secrets.FRONT_NEXT_PUBLIC_IMAGE_URL}}" >> .env.production + echo "NEXT_PUBLIC_IMAGE_URL=${{secrets.FRONT_NEXT_PUBLIC_IMAGE_URL}}" >> .env.production - # .env.sentry-build-plugin 설정 name: Create .env.sentry-build-plugin diff --git a/frontend/techpick/src/app/(unsigned)/share/[uuid]/page.tsx b/frontend/techpick/src/app/(unsigned)/share/[uuid]/page.tsx index 3a48d575f..d5c1e0f94 100644 --- a/frontend/techpick/src/app/(unsigned)/share/[uuid]/page.tsx +++ b/frontend/techpick/src/app/(unsigned)/share/[uuid]/page.tsx @@ -54,7 +54,7 @@ export async function generateMetadata( let ogImageUrl: string; if (imageUrls.length === 0) { - ogImageUrl = `${process.env.NEXT_PUBLIC_IMAGE_URL}/image/og_image.png`; + ogImageUrl = `/image/og_image.png`; } else { const apiUrl = new URL( `${process.env.NEXT_PUBLIC_IMAGE_URL}/api/generate-og-image` diff --git a/frontend/techpick/src/app/layout.tsx b/frontend/techpick/src/app/layout.tsx index 192a1b26f..8e2030547 100644 --- a/frontend/techpick/src/app/layout.tsx +++ b/frontend/techpick/src/app/layout.tsx @@ -13,7 +13,7 @@ export const metadata: Metadata = { icon: '/favicon.ico', }, openGraph: { - images: `${process.env.NEXT_PUBLIC_IMAGE_URL}/image/og_image.png`, + images: `/image/og_image.png`, }, };