Files
SnowLuma/.pnpm-store/v11/files/28/88eb798e07abb14755dd4f44e77bb7364c2f5bfca2e8bce58bfe47e7bcb1824f01af459db36908f39444ee499b4c92fd67042417cc8d4054daffd6ead164b0
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

8 lines
314 B
Plaintext

//#region src/adapter/cloudflare-workers/conninfo.ts
/**
* @deprecated `hono/cloudflare-workers` will be removed in v5. Install `@hono/cloudflare-workers` and import from there instead.
*/
const getConnInfo = (c) => ({ remote: { address: c.req.header("cf-connecting-ip") } });
//#endregion
export { getConnInfo };