CSS loading locally but not in Heroku for a rails app

后端 未结 11 1859
梦谈多话
梦谈多话 2020-12-04 09:12

I\'m following a rails prelaunch signup tutorial. Bootstrap was working fine deployed on heroku, but then I modified the bootstrap_and_override file to include a logo. Whe

11条回答
  •  臣服心动
    2020-12-04 10:00

    This issue can also happen when you are cloning an app and using a CDN for your assets.

    Comment out config.action_controller.asset_host in production.rb if your heroku app is a staging site.

提交回复
热议问题