헤더
This commit is contained in:
@@ -121,7 +121,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";
|
||||||
|
|||||||
Reference in New Issue
Block a user