Skip to content
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

How do you pass all client side routes through? #2

Open
DaveSanders opened this issue Jun 16, 2017 · 0 comments
Open

How do you pass all client side routes through? #2

DaveSanders opened this issue Jun 16, 2017 · 0 comments

Comments

@DaveSanders
Copy link

Instead of having to list out every external route, is there a way to pass everything through to the client?

(Yes, I realize this isn't the normal way of doing things because you'd want some routes to hit the Express server, but in my scenario I'm pulling those requests out via the browser client string, so if the user isn't a bot (such as FB or Twitter) then I want to route to the normal client route.)

The readme says I can supply a regular expression - is there an example of this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant