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
Exceptions for particular routes #47
Comments
I also want to know that. |
The result of calling:
is just a function of the form |
To @ramazan793 @superzw: Hi, I know it's probably too late, but it's achievable :) historyApiFallback: {
verbose: true,
rewrites: [
{ from: /^\/(public|build)\//, to: context => context.parsedUrl.pathname },
{ from: /^(?!\/(public|build)\/)/, to: '/' },
]
}, This way, only those URL starting with
|
How to not rewrite particular routes like
/auth/google
?Is there a way to add own exclusion for some routes?
My temporary solution - use history only for specified routes, not for all app like
app.use(history)
The text was updated successfully, but these errors were encountered: