Skip to content

Commit 1e0453b

Browse files
matthewpsarah11918
andauthored
Update src/content/docs/en/reference/modules/astro-middleware.mdx
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
1 parent e94f503 commit 1e0453b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/content/docs/en/reference/modules/astro-middleware.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ An object for storing arbitrary information from a middleware, accessible to the
183183
<Since v="6.0.0" />
184184
</p>
185185

186-
Specifies the [IP address](https://en.wikipedia.org/wiki/IP_address) of the request. It must be provided by the adapter using the context of the possible edge function.
186+
The [IP address](https://en.wikipedia.org/wiki/IP_address) of the request.
187+
188+
This must be provided by the adapter or platform from a trusted source (e.g. socket address, platform-provided header).
187189

188190
If not provided, accessing `clientAddress` will throw an error.
189191

0 commit comments

Comments
 (0)