DEV Community

Usaid
Usaid

Posted on

website not running on express(), need help.

Trying to run website on express server but it fails to get the styles and only shows the html file, i have included the stylesheet inside the html file, any ideas why ?

Top comments (2)

Collapse
 
0xkoji profile image
0xkoji

hard to point out an issue you have without seeing the code, but my guess is a MIME setting.
This might be useful.

stackoverflow.com/questions/174785...

Collapse
 
grafov_nikita profile image
Nikita Grafov

Maybe check that CSS and other static files are served by the server.

expressjs.com/en/starter/static-fi...