Merge pull request #8042 from adullact/feature/webconsole-private-ranges

feat(web-console): allow private & loopback ranges
This commit is contained in:
mfo 2022-11-17 09:22:23 +01:00 committed by GitHub
commit 965aef1256
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.