Update: Listing 6.4 error message: routes is not a function
Hi, I compared with Chapter 7 code, and found that indeed there was an error, not in Listing 6.5, but in Listing 6.4.
The current code in Listing 6.4 reads: function readFile(..., but should have been, based on Listing 7.6, let getFile = (...
This change worked. The Github code for serve_html_3 in Unit 1/ Lesson_6 corresponds to this and needs to be updated. Is this a scoping issue? Thanks
|