0
0
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:
ryu 2024-07-09 06:57:42 +09:00 committed by GitHub
parent ce1c8172d9
commit 74310f469b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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',
},
})