// 1. 응답 헤더 설정 (JSON)

header('Content-Type: application/json; charset=utf-8');

제거
This commit is contained in:
2026-03-27 11:52:38 +09:00
parent 930e690126
commit cba387de9d

View File

@@ -86,7 +86,7 @@ function apiResponse($error = null) {
} }
// 1. 응답 헤더 설정 (JSON) // 1. 응답 헤더 설정 (JSON)
header('Content-Type: application/json; charset=utf-8'); // header('Content-Type: application/json; charset=utf-8');
// ===== 최우선: 모든 호출 정보를 로그에 저장 (보안 키 체크 전) ===== // ===== 최우선: 모든 호출 정보를 로그에 저장 (보안 키 체크 전) =====
$protocol = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http"; $protocol = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http";