diff options
| author | joonhoekim <26rote@gmail.com> | 2025-07-29 11:47:34 +0000 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-07-29 11:47:34 +0000 |
| commit | 792fb0c21136eededecf52b5b4aa1a252bdc4bfb (patch) | |
| tree | b372e3be7d5b09a8c533ae1f3766b3c49d36f106 /lib/knox-api/common.ts | |
| parent | 8ff20b58f595cc15319387b9641340fd3e8725d1 (diff) | |
(김준회) 파트너 Engineering 메뉴 수정, Knox 결재 로깅 추가
Diffstat (limited to 'lib/knox-api/common.ts')
| -rw-r--r-- | lib/knox-api/common.ts | 4 |
1 files changed, 3 insertions, 1 deletions
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<Record<string, string>> => { - 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<Record<string, string>> => { 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 |
