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
In a sample app, I had the following routes:
route.register("/", { moduleId: "component-1" }); route.register("/component-2", { moduleId: "component-2" });
and the browser assets where located in a public folder...
public
when I loaded http://127.0.0.1:8080/public/ in the browser, can-route would redirect me to http://127.0.0.1:8080/ because of the route mismatch.
http://127.0.0.1:8080/public/
can-route
http://127.0.0.1:8080/
I was missing route.bindings.pushstate.root = "/public/", we could possibly warn the user that they might need to set the root property.
route.bindings.pushstate.root = "/public/"
root
cc: @justinbmeyer
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In a sample app, I had the following routes:
and the browser assets where located in a
public
folder...when I loaded
http://127.0.0.1:8080/public/
in the browser,can-route
would redirect me tohttp://127.0.0.1:8080/
because of the route mismatch.I was missing
route.bindings.pushstate.root = "/public/"
, we could possibly warn the user that they might need to set theroot
property.cc: @justinbmeyer
The text was updated successfully, but these errors were encountered: