261021_01_ENH: 1차 마이그레이션 완료

This commit is contained in:
2026-10-21 16:08:57 +09:00
parent 964269cd82
commit f0c9b02eae
313 changed files with 11557 additions and 344 deletions

View File

@@ -2,6 +2,11 @@ import { createHttpClient } from "@kri/common/http";
import { clientEnv } from "@/lib/env.client";
const resolveBaseUrl = () =>
typeof window === "undefined" ? clientEnv.API_BASE : new URL(clientEnv.API_BASE, window.location.origin).toString();
typeof window === "undefined"
? clientEnv.API_BASE
: new URL(clientEnv.API_BASE, window.location.origin).toString();
export const nextApi = createHttpClient(resolveBaseUrl());
export const nextApi = createHttpClient(resolveBaseUrl(), {
onForbidden: false,
onResponseError: false,
});