We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8b18d69 + 96cf178 commit c3e856fCopy full SHA for c3e856f
plugin/src/templates/edge/runtime.ts
@@ -47,7 +47,7 @@ const handler = async (req: Request, context: Context) => {
47
},
48
url: url.toString(),
49
method: req.method,
50
- ip: req.headers.get('x-nf-client-address') ?? undefined,
+ ip: context.ip,
51
body: req.body ?? undefined,
52
}
53
0 commit comments