File size: 303 Bytes
edaa6b9 | 1 2 3 4 5 6 7 8 | //#region src/adapter/lambda-edge/conninfo.ts
/**
* @deprecated `hono/lambda-edge` will be removed in v5. Install `@hono/lambda-edge` and import from there instead.
*/
const getConnInfo = (c) => ({ remote: { address: c.env.event.Records[0].cf.request.clientIp } });
//#endregion
export { getConnInfo };
|