使用SpringBoot框架和SpringSecurity框架整合出现because its MIME type ('text/html') is not executable

前端页面出现: Refused to execute script from ‘http://localhost:8080/login’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled. 解决方法: 将静态资源的路径写在自定义的安全策略中 所以要找到对自定
相关文章
相关标签/搜索