fix : API_URL -> NEXT_PUBLIC_API_URL 일괄 변경
This commit is contained in:
@@ -55,7 +55,7 @@ interface CardResponse {
|
||||
}
|
||||
|
||||
// API URL (without double /api)
|
||||
const API_URL = `${process.env.NEXT_PUBLIC_API_URL || process.env.API_URL}/api`;
|
||||
const API_URL = `${process.env.NEXT_PUBLIC_API_URL}/api`;
|
||||
|
||||
// 상태 매핑: API → Frontend
|
||||
function mapApiStatusToFrontend(apiStatus: 'active' | 'inactive'): CardStatus {
|
||||
|
||||
Reference in New Issue
Block a user