Thursday 22 August 2019

Explain me Serving static files in Express in an actual example

Hey guys, just recently started learning node and I stumbled upon Middleware functions. Now the problem is I dont fully understand built-in Middleware function express.static. How could I use it in an actual project, for example how could I use this to serve static files such as an image or a CSS file in an actual real life project. I guess don't get serving part of this sentence.

Submitted August 23, 2019 at 02:44AM by Drexx_B

No comments:

Post a Comment