From 792fb0c21136eededecf52b5b4aa1a252bdc4bfb Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Tue, 29 Jul 2025 11:47:34 +0000 Subject: (김준회) 파트너 Engineering 메뉴 수정, Knox 결재 로깅 추가 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/knox-api/common.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/knox-api/common.ts') diff --git a/lib/knox-api/common.ts b/lib/knox-api/common.ts index db6910f2..5b13fc0a 100644 --- a/lib/knox-api/common.ts +++ b/lib/knox-api/common.ts @@ -31,7 +31,7 @@ export const createHeaders = async (contentType: string = 'application/json'): P // JSON 전용 헤더 export const createJsonHeaders = async (): Promise> => { - return await createHeaders('application/json'); + return await createHeaders('application/json; charset=utf-8'); }; // FormData 전용 헤더 (Content-Type 자동 설정) @@ -40,5 +40,7 @@ export const createFormHeaders = async (): Promise> => { return { 'System-ID': config.systemId, Authorization: `Bearer ${config.bearerToken}`, + 'Accept': 'application/json; charset=utf-8', + 'Accept-Charset': 'utf-8', }; }; \ No newline at end of file -- cgit v1.2.3