我在rails视图中有一个javascript_include_tag,chrome抛出了以下警告:
[blocked] The page at https://..... ran insecure content from http://...index.js.
并且没有加载任何脚本。但是,如果您在html源代码中查找,则脚本包含为https://
这是chrome bug吗?这是怎么回事?
它可以是一个gem包含的脚本。
确保
config.force_ssl = true
在config/application.rb
中启用