Last active
November 7, 2017 00:36
-
-
Save cpappen/04eec3b8d0ce7f3995400867339a0c2a to your computer and use it in GitHub Desktop.
whitelist ip on rails app for development to avoid a message "Cannot render console from ...! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#config/environments/development.rb | |
Rails.application.configure do | |
config.web_console.whitelisted_ips = '10.0.2.2' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment