mirror of
https://github.com/honojs/hono.git
synced 2024-11-24 11:07:29 +01:00
fix(vercel): remove deprecated address type (#3115)
This commit is contained in:
parent
ce1c8172d9
commit
74310f469b
@ -4,6 +4,5 @@ export const getConnInfo: GetConnInfo = (c) => ({
|
||||
remote: {
|
||||
// https://github.com/vercel/vercel/blob/b70bfb5fbf28a4650d4042ce68ca5c636d37cf44/packages/edge/src/edge-headers.ts#L10-L12C32
|
||||
address: c.req.header('x-real-ip'),
|
||||
addressType: 'unknown',
|
||||
},
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user