conninfo.js 169 B

123456789
  1. // src/adapter/lambda-edge/conninfo.ts
  2. var getConnInfo = (c) => ({
  3. remote: {
  4. address: c.env.event.Records[0].cf.request.clientIp
  5. }
  6. });
  7. export {
  8. getConnInfo
  9. };