MIME type ('text/html') is not a supported stylesheet MIME type ('text/html') is not a supported stylesheet express express

MIME type ('text/html') is not a supported stylesheet


It's because of relative path that your html is unable to find the correct css. With express files served as static is relative to express route path not actual folder path.

Since everything inside your public folder is served as static, use absolute path, makes things easier:

<link rel="stylesheet" href="/style/draft.css" />