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

Fallback server doesn't work for nested routes #207

Closed
agubler opened this issue Nov 14, 2018 · 0 comments
Closed

Fallback server doesn't work for nested routes #207

agubler opened this issue Nov 14, 2018 · 0 comments
Labels
bug next Issue/Pull Request for the next major version

Comments

@agubler
Copy link
Member

agubler commented Nov 14, 2018

Bug

The fallback server that rewrites requests to the root index.html used during the serve option doesn't work for nested routes such as localhost:999/about/company. This is because the script, css (and other) resources are requested from that path.

We need to rewrite everything to serve from the root of the application, so that if a request for /about/main.js is received it re-writes it to use the real `main.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug next Issue/Pull Request for the next major version
Projects
None yet
Development

No branches or pull requests

1 participant