Skip to content

Commit 6cb70ae

Browse files
committed
홈 화면 API 수정
1 parent 9e01e38 commit 6cb70ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/app/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ export default function Home() {
2424
const router = useRouter();
2525

2626
const apiUrls = [
27-
'http://localhost:3001/api/main/aum',
28-
'http://localhost:3001/api/main/fluc',
29-
'http://localhost:3001/api/main/volume'
27+
`${process.env.NEXT_PUBLIC_API_BASE_URL}/api/main/aum`,
28+
`${process.env.NEXT_PUBLIC_API_BASE_URL}/api/main/fluc`,
29+
`${process.env.NEXT_PUBLIC_API_BASE_URL}/api/main/volume`
3030
];
3131

3232
useEffect(() => {

0 commit comments

Comments
 (0)