testIpInfo
Script
v1
Fork
1
2
3
4
5
6
7
8
import
{
getIpInfo
}
from
"https://esm.town/v/redking00/getIpInfo"
;
export
const
testIpInfo
=
async
(
req
:
express
.
Request
,
res
:
express
.
Response
)
=>
{
res
.
json
(
await
getIpInfo
(
req
)
)
;
}
;