(data, status = 200)
| 5542 | } |
| 5543 | |
| 5544 | function checkJsonResponse(data, status = 200) { |
| 5545 | return new Response(JSON.stringify(data, null, 2), { |
| 5546 | status, |
| 5547 | headers: CHECK_RESPONSE_HEADERS, |
| 5548 | }); |
| 5549 | } |
| 5550 | |
| 5551 | // 优先使用探针返回的 ipType;若没有 ipType,再回退到根据出口 IP 字符串判定。 |
| 5552 | function getExitFamily(result) { |
no outgoing calls
no test coverage detected