Skip to content

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