payverse 적용 #344
@@ -66,9 +66,6 @@ class ChargeController(
|
|||||||
header.split(",")[0].trim() // 첫 번째 값이 클라이언트 IP
|
header.split(",")[0].trim() // 첫 번째 값이 클라이언트 IP
|
||||||
}
|
}
|
||||||
|
|
||||||
print("Payverse Webhook Request: $remoteIp")
|
|
||||||
print("Payverse Webhook Request: $payverseInboundIp")
|
|
||||||
|
|
||||||
if (remoteIp != payverseInboundIp) {
|
if (remoteIp != payverseInboundIp) {
|
||||||
throw ResponseStatusException(HttpStatus.NOT_FOUND)
|
throw ResponseStatusException(HttpStatus.NOT_FOUND)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user