Merge pull request #8042 from adullact/feature/webconsole-private-ranges
feat(web-console): allow private & loopback ranges
This commit is contained in:
commit
965aef1256
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,10 @@ require "active_support/core_ext/integer/time"
|
|||
Rails.application.configure do
|
||||
# Settings specified here will take precedence over those in config/application.rb.
|
||||
|
||||
# Web console
|
||||
# Allow private & loopback ranges
|
||||
config.web_console.permissions = ['10.0.0.0/8', '127.0.0.0/8', '172.16.0.0/12', '192.168.0.0/16', '192.0.0.0/24', '::1']
|
||||
|
||||
# In the development environment your application's code is reloaded any time
|
||||
# it changes. This slows down response time but is perfect for development
|
||||
# since you don't have to restart the web server when you make code changes.
|
||||
|
|
Loading…
Reference in a new issue