Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: improve docs around geolocation and IP headers #59719

Merged
merged 5 commits into from
Dec 18, 2023

Conversation

leerob
Copy link
Member

@leerob leerob commented Dec 17, 2023

Based on feedback from #47793, I made some improvements around the geolocation docs. Specifically around request.ip, request.geo, and how to access these values. I noticed there was a bit of a divergence, as some of the NextRequest and NextResponse docs were split out for the App Router section, but not all.

This PR finishes that swing by removing the previous catch-all for next/server in the Pages Router docs and splits them into individual docs pages.

Wrote a lil' thread about this: https://twitter.com/leeerob/status/1736543599339172121

leerob and others added 2 commits December 18, 2023 07:38
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
@leerob leerob merged commit 1c65c55 into canary Dec 18, 2023
32 checks passed
@leerob leerob deleted the geolocation-docs-improvements branch December 18, 2023 13:55
@github-actions github-actions bot added the locked label Jan 3, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants