How to disable “Cannot Render Console from…” on Rails

后端 未结 11 1288
心在旅途
心在旅途 2020-12-07 10:35

I\'m using Ubuntu/vagrant as my development environment. I\'m getting these messages on rails console:

Started GET \"/assets/home-fcec5b5a277ac7c20cc9f45a209         


        
11条回答
  •  既然无缘
    2020-12-07 11:02

    Anyone on any of my private networks is welcome.

    I run in a docker container and I don't care which network it wants to use this week.

    config/environments/development.rb add line

    config.web_console.whitelisted_ips = ['10.0.0.0/8', '172.16.0.0/12', '192.168.0.0/16']
    

提交回复
热议问题