-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
开发环境下构建后访问的文件类型不正确,全部被识别成text/html #1424
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
现象说明
启动开发环境后访问页面,所有的静态资源的 MIME 类型都变成 text/html 了,无法正确识别文件类型
另外本地生成的 dist 目录里是有 umi.css 和 umi.js 这两个文件,而访问后 umi.css 返回 404,umi.js 却返回 200
期望结果
能正确处理文件类型
The text was updated successfully, but these errors were encountered: