We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a language segment as a first segment of my url, defined as:
<Route path='/:lang' ... >
Now how do I validate that lang param may only be equal to en or ru, and throw 404 otherwise?
lang
en
ru
My question is related to #357 I guess.
The text was updated successfully, but these errors were encountered:
For questions and support, please visit our channel on Reactiflux or Stack Overflow. The issue tracker is exclusively for bug reports and feature requests.
Sorry, something went wrong.
You may want to follow #2286
No branches or pull requests
I have a language segment as a first segment of my url, defined as:
Now how do I validate that
lang
param may only be equal toen
orru
, and throw 404 otherwise?My question is related to #357 I guess.
The text was updated successfully, but these errors were encountered: