fix : API_URL -> NEXT_PUBLIC_API_URL 일괄 변경

This commit is contained in:
2025-12-30 17:55:31 +09:00
parent 5d0e453a68
commit 581dde8679
10 changed files with 22 additions and 22 deletions

View File

@@ -86,7 +86,7 @@ function getStorageUrl(path: string | undefined): string | null {
return path;
}
// 상대 경로인 경우
const apiUrl = process.env.API_URL || '';
const apiUrl = process.env.NEXT_PUBLIC_API_URL || '';
return `${apiUrl}/storage/${path}`;
}