我在rails视图中有一个javascript_include_tag,chrome抛出了这个警告:
[blocked] The page at https://..... ran insecure content from http://...index.js.并且没有加载任何脚本。但是,如果您查看html源代码,脚本将包含为https://
这是一个chrome bug吗?这里发生了什么事?
发布于 2013-08-30 09:00:47
它可以是gem包含的脚本。
确保
config.force_ssl = true在config/application.rb中启用
https://stackoverflow.com/questions/18521336
复制相似问题