getting-MEAN icon indicating copy to clipboard operation
getting-MEAN copied to clipboard

Redirects to a non-existent route

Open hshamji opened this issue 8 years ago • 1 comments

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,

hshamji avatar Oct 21 '17 17:10 hshamji

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!

SH-YanHua avatar Mar 30 '18 06:03 SH-YanHua