-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Regexp routes redirecting #31
Comments
Is it better just pass URL to Defining function looks like pretty complex thing. |
When i change the route then, i dont need to change all of the |
Do you really often change URLs? We can add this feature, let’s see how many bytes it takes and how it will affect complexity of types and logic. |
What is the recommended workaround? It seems that I can't use regexp routes if I want to do any redirects to that route. In my case the route with a regexp is my default route, so I redirect any invalid route to it. |
@schwiet just use If you want to change API you need to help and send PR. |
Now, when i use a RegExp routes, i cannot use
openPage
orredirectPage
functions. Router throwsRegExp routes are not supported
. So may be we can support this by adding second converter to route? Something like this:So router can determine the redirect url and do redirect?
The text was updated successfully, but these errors were encountered: