Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经将 Michael Hartl 的教程代码的演示应用程序部署到 heroku 上,以查看它的工作情况。该应用程序在https://some-app-name.herokuapp.com中打开。我如何让它以 http 而不是 https 打开?
有同样的问题。您必须更改应用程序的 ssl 设置。
environments/production.rb必须有以下配置config.force_ssl = false,默认情况下设置为 true 。
environments/production.rb
config.force_ssl = false
必须重置 Firefox 才能生效。其他浏览器正常。