Glyphicon works locally but not on Heroku

后端 未结 6 937

If you look at my app here: http://quiet-brushlands-5712.herokuapp.com/, close to the button is an icon, a glyphicon. But it\'s not appearing on heroku. locally it show as nicel

6条回答
  •  一向
    一向 (楼主)
    2021-02-04 08:41

    In config/environments/production.rb

    Change config.assets.compile = false to config.assets.compile = true

    (and then don't forget to commit and push to heroku)

    Worked for me...

提交回复
热议问题