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

Redirects to a non-existent route #13

Open
wants to merge 1 commit into
base: chapter-07
Choose a base branch
from

Conversation

hshamji
Copy link

@hshamji hshamji commented Oct 21, 2017

I was having some issues with the last part of Chapter 7, and this fix seemed to address them. I think the problem was an empty/incomplete form redirecting to a non-existent route. Routes of the form "/location/' + locationid + '/reviews/" belong to the api_server not the app_server. Please let me know what you think. Thank you,

I was having some issues with the last part of Chapter 7, and this fix seemed to address them. I think the problem was an empty/incomplete form redirecting to a non-existent route. Routes of the form "/location/' + locationid + '/reviews/" belong to the api_server not the app_server. Please let me know what you think. Thank you,
@SH-YanHua
Copy link

SH-YanHua commented Mar 30, 2018

This bug bothered me for a long time. You bring me salvation.Thank you very much!!!
And I hope the author update the code in time.
Right Code: " res.redirect('/location/' + locationid + '/review/new?err=val');"
Author's Code:" res.redirect('/location/' + locationid + '/reviews/new?err=val');"
yes,you know there is a 's' in the author's code. This ugly ‘S’,must delete!

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

Successfully merging this pull request may close these issues.

3 participants