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

feat(next): Support locale and basePath options on middleware config #39459

Closed
wants to merge 18 commits into from

Conversation

nkzawa
Copy link
Contributor

@nkzawa nkzawa commented Aug 10, 2022

As the title, support locale and basePath options that allows to disable matching with locale or basePath like in next.config.js.

For https://github.com/vercel/edge-functions/issues/179

This PR is based on #39257

Feature

  • Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
  • Related issues linked using fixes #number
  • Integration tests added
  • Documentation added
  • Telemetry added. In case of a feature if it's used or not.
  • Errors have helpful link attached, see contributing.md

Documentation / Examples

  • Make sure the linting passes by running pnpm lint
  • The examples guidelines are followed from our contributing doc

@nkzawa
Copy link
Contributor Author

nkzawa commented Aug 10, 2022

Closing since I merged the fix to #39257

@nkzawa nkzawa closed this Aug 10, 2022
@nkzawa nkzawa deleted the middleware-matcher-locale-basepath branch August 10, 2022 15:30
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants