ryentzer (2) [Avatar] Offline
#1
The figure shows: fs.readFile(`views${req.url}.html`... when it should be: fs.readFile(`views${req.url}`...
TheWexler (56) [Avatar] Offline
#2
Thanks for pointing this out. There is an inconsistency, and I defer to your solution of `views${req.url}`, leaving off the trailing `.html`. This error came about as I debated whether the URL path should be `/index` or `/index.html`. I'll make the change for the next release. Thank you.
ryentzer (2) [Avatar] Offline
#3
No problem at all. Thanks for the response. I've enjoyed the book so far although I'm hung up on the next section. I don't think it's the book, more-so my lack of JS foo.