Don't access .address on a string...

This commit is contained in:
Malted 2025-03-30 17:58:46 -04:00
parent e74617949b
commit fa9c6fde6e
No known key found for this signature in database

View file

@ -42,7 +42,7 @@ Bun.serve({
const start = performance.now()
const ip = req.headers.get("x-real-ip")
console.log({ip, req})
const [ipRes] = await q(ip.address)
const [ipRes] = await q(ip)
console.log(Math.round(performance.now() - start) + " ms")
return Response.json(ipRes)