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
The site I'm working on has a base URL /ops example: https://local.oursite.com/ops/
I create the router like so:
const resolveOptions = { strategy: "ONE", hash: false, noMatchWarning: false }; const router = new Navigo('/ops', resolveOptions); router.on({ "/": { as: "main", uses: function () { console.log("1"); router.navigateByName("login"); }, hooks: { before: (done) => { done(); }, }, }, "/login": { as: "login", uses: function () { console.log("2"); setIt("Page Login"); }, hooks: { before: (done) => { done(); }, }, } }); router.resolve();
When I go to https://local.oursite.com/ops/ with the browser, it redirects me to https://local.oursite.com/ops/ops/login which is incorrect. It should go to https://local.oursite.com/ops/login
The text was updated successfully, but these errors were encountered:
Fixing a bug with #276
1f90f05
Hey @arethk,
Thanks for reporting. The bug is fixed in 8.9.1 version.
Sorry, something went wrong.
No branches or pull requests
The site I'm working on has a base URL /ops example: https://local.oursite.com/ops/
I create the router like so:
When I go to https://local.oursite.com/ops/ with the browser, it redirects me to https://local.oursite.com/ops/ops/login which is incorrect. It should go to https://local.oursite.com/ops/login
The text was updated successfully, but these errors were encountered: