F
F
f1nef1ne2018-12-28 11:12:41
Web servers
f1nef1ne, 2018-12-28 11:12:41

Why does .js / .css load like html?

Hello, I encountered such an error that .js and .css files are loaded with Content-Type: text/html, instead of, say, application/javascript. The directory contains a project on VUE CLI. How can this problem be corrected?
5c25da6331d92693093507.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2018-12-28
@f1nef1ne

Apparently they are not in your web server's MIME list.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question