diff --git a/src/components/ChattingDetail.jsx b/src/components/ChattingDetail.jsx index fb65a956967c16dcd847f76500a2c62ede644dfa..00a9440272d6d39a5495d2d53e230ef58c15a16e 100644 --- a/src/components/ChattingDetail.jsx +++ b/src/components/ChattingDetail.jsx @@ -727,7 +727,7 @@ function ChattingDetail() { // 공지사항 목록 가져오기 const fetchNotices = async () => { try { - const response = await fetch(`http://localhost:8080/api/chat/${chatRoomId}/notices`); + const response = await fetch(`${process.env.REACT_APP_BASE_URL}/api/chat/${chatRoomId}/notices`); if (response.ok) { const data = await response.json(); setNotices(data); // 공지사항 목록 업데이트