I'm facing an issue with my ExpressJS web app where only the HTML files are loading but the CSS rules are not being applied. I have linked the HTML file with the CSS file and also included
express.static(path.join(__dirname, 'css'))
in my app.js file.
Here is the structure of my project:
app.js
/views
- index.html
/css
- style.css
Any ideas on how to resolve this problem?