Download node_modules/hono/dist/adapter/lambda-edge/conninfo.js from Snapkitty/agentscope-sift: direct link, hf CLI and curl.
- Browser
- Download file 178 Bytes
-
https://huggingface.co/Snapkitty/agentscope-sift/resolve/main/node_modules/hono/dist/adapter/lambda-edge/conninfo.js
- Command line
-
hf download hf://Snapkitty/agentscope-sift/node_modules/hono/dist/adapter/lambda-edge/conninfo.js
-
curl -L -o conninfo.js https://huggingface.co/Snapkitty/agentscope-sift/resolve/main/node_modules/hono/dist/adapter/lambda-edge/conninfo.js
178 Bytes
| // src/adapter/lambda-edge/conninfo.ts | |
| var getConnInfo = (c) => ({ | |
| remote: { | |
| address: c.env.event.Records[0].cf.request.clientIp | |
| } | |
| }); | |
| export { | |
| getConnInfo | |
| }; | |