-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update geolocation examples to next 15 (#973)
### Description Since we're using canary, the current geolocation examples are broken. This PR updates the geolocation examples since `NextRequest.geo` was removed in Next 15. I opted to use the `@vercel/functions` package as recommended in the [Upgrade guide](https://nextjs.org/docs/app/building-your-application/upgrading/version-15#nextrequest-geolocation), however we could always refactor to using the raw headers. ### Type of Change - [x] Example updates (Bug fixes, new features, etc.)
- Loading branch information
Showing
17 changed files
with
8,494 additions
and
6,782 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.