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 base url for my site is http://localhost:23773/mvn I feed it a route like this, as per the instructions on sammyjs.org:
var app = $.sammy(function () { this.get('#/advantages', function (context) { console.log('advantages'); }); }); $(function () { app.run('#/advantages'); });
Then, I request http://localhost:23773/mvn/#advantages. Instead of running the "#/advantages" route I fed it, it gives me this error:
body 404 Not Found get /mvn/#advantages Error: 404 Not Found get /mvn/#advantages (…)
I'm surprised. Why is the '/mvn' included in the route? If I understand correctly, it shouldn't be there at all.
The text was updated successfully, but these errors were encountered:
@rensdenobel This is because you are running wrong hash route.
You are defining "#/advantages" this route but while running the app you are using "/#advantages". got the difference, place of "/".
use "#/advantages" , it will start working.
Sorry, something went wrong.
Thanks @pushkeryadav ! Working late is not something we should do regularly ;)
No branches or pull requests
The base url for my site is http://localhost:23773/mvn
I feed it a route like this, as per the instructions on sammyjs.org:
Then, I request http://localhost:23773/mvn/#advantages. Instead of running the "#/advantages" route I fed it, it gives me this error:
I'm surprised. Why is the '/mvn' included in the route? If I understand correctly, it shouldn't be there at all.
The text was updated successfully, but these errors were encountered: