custom param name instead of [locale]? #1146
Unanswered
indicozy-eyewa
asked this question in
Q&A
Replies: 1 comment
-
One way to do that could be passing context object to const locale = await getLocale({ store }); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How can I configure middleware to use not
locale
param but other param such asstore
? In the production, our logic is tied tostore
param and it will be hard for us to rename it everywhere.Beta Was this translation helpful? Give feedback.
All reactions