In this lecture you will learn how to serve a static file in Express JS. In the previous section, when we learned about fundamentals of NODE JS, there we saw that static files cannot be accessed directly. So, let's learn how we can access a static file in Express JS.
In this lecture you will learn how to serve a static file in Express JS. In the previous section, when we learned about fundamentals of NODE JS, there we saw that static files cannot be accessed directly. So, let's learn how we can access a static file in Express JS.