Skip to content

Commit

Permalink
docs: Another improvement for blog post
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn committed Oct 21, 2024
1 parent 75a1d1b commit 94f58ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/pages/blog/next-intl-3-22.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export default createMiddleware(routing);
// ...
```

If you've used `defineRouting` previously to v3.22 and have provided middleware options as a second argument to `createMiddleware`, you can now pass these to `defineRouting` instead.

The docs have been consistently updated to reflect these changes and also suggest the creation of navigation APIs directly in `i18n/routing.ts`. If you prefer to keep your navigation APIs separately, that's of course fine as well.

## `i18n/request.ts` [#i18n-request]
Expand Down

0 comments on commit 94f58ae

Please sign in to comment.