Static Hosting on VSCode #939
friskblack
started this conversation in
General
Replies: 1 comment · 1 reply
-
Hello, github.io/assets/index-Bcb5a6Mv.js‘ has been blocked due to a forbidden MIME type (’text/html"). Do you have any ideas for solving this type of problem? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to use LiveServer in VSCode for static hosting?
A simple build will give the following error
GET http://127.0.0.1:5501/assets/index.fbc75e81.js net::ERR_ABORTED 404 (Not Found)
127.0.0.1/:12 Refused to apply style from 'http://127.0.0.1:5501/assets/index.c055832a.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Beta Was this translation helpful? Give feedback.
All reactions