From e198360df574d2fbf69725cfcbdbedfae511fa86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=ED=98=B8?= <67588757+choihooo@users.noreply.github.com> Date: Thu, 31 Oct 2024 14:17:15 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20api=20=EB=A7=81=ED=81=AC=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20(#44)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/src/app/event-maps/[id]/components/BottomDrawer.tsx | 2 +- fe/src/app/layout.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fe/src/app/event-maps/[id]/components/BottomDrawer.tsx b/fe/src/app/event-maps/[id]/components/BottomDrawer.tsx index cea2095..cd19635 100644 --- a/fe/src/app/event-maps/[id]/components/BottomDrawer.tsx +++ b/fe/src/app/event-maps/[id]/components/BottomDrawer.tsx @@ -102,7 +102,7 @@ export default function BottomDrawer({ // 특정 nonMemberId에 대한 핑 요청 try { const response = await fetch( - `http://110.165.17.236:8081/api/v1/nonmembers/pings/${nonMemberId}`, + `${process.env.NEXT_PUBLIC_API_BASE_URL}/nonmembers/pings/${nonMemberId}`, { method: "GET", headers: { "Content-Type": "application/json" } } ); diff --git a/fe/src/app/layout.tsx b/fe/src/app/layout.tsx index 6521acb..d6d650f 100644 --- a/fe/src/app/layout.tsx +++ b/fe/src/app/layout.tsx @@ -2,8 +2,8 @@ import "@/styles/globals.css"; import { ReactNode } from "react"; export const metadata = { - title: "My App", - description: "This is my Next.js app", + title: "Moping!", + description: "Moping", }; export default function RootLayout({ children }: { children: ReactNode }) {