Refused to execute script from ‘‘ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.

内容目录

Refused to execute script from ‘‘ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.

springboot无法加载静态资源,拦截器已经配置无需认证。

通过对HttpSecurity安全配置器 HeadersConfigurer进行配置

gateway按照下面处理

file

springboot单体项目按照如下配置

file

标签

发表评论