Add Node's path module#3046
Conversation
|
Seems like a useful change for people that don't realise it's how you should be doing it. However, can you avoid unnecessary changes? Just make it |
|
Thanks for the feedback :) , actually this is my first contribution so I'm still learning how to improve the code properly. |
|
Awesome! It looks great now 😄 FWIW, you can also do |
|
Thank you 😄 |
This reverts commit 3c54220.
|
Shouldn't this also be updated at https://expressjs.com/en/starter/static-files.html (https://github.com/expressjs/expressjs.com/blob/gh-pages/en/starter/static-files.md)? |
Add Node's path module to the static-files example.