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

@@ -47,7 +47,7 @@ async function getBills(params: {
queryParams.append('per_page', '20');
const response = await fetch(
`${process.env.API_URL}/api/v1/bills?${queryParams.toString()}`,
`${process.env.NEXT_PUBLIC_API_URL}/api/v1/bills?${queryParams.toString()}`,
{ method: 'GET', headers, cache: 'no-store' }
);

View File

@@ -150,7 +150,7 @@ async function getItemsList(): Promise<ItemApiData[]> {
const headers = await getApiHeaders();
const response = await fetch(
`${process.env.API_URL}/api/v1/items?group_id=1&size=100`,
`${process.env.NEXT_PUBLIC_API_URL}/api/v1/items?group_id=1&size=100`,
{
method: 'GET',
headers,
@@ -183,7 +183,7 @@ async function getPricingList(): Promise<PriceApiItem[]> {
const headers = await getApiHeaders();
const response = await fetch(
`${process.env.API_URL}/api/v1/pricing?size=100`,
`${process.env.NEXT_PUBLIC_API_URL}/api/v1/pricing?size=100`,
{
method: 'GET',
headers,