feat(web-console): allow private & loopback ranges

This commit is contained in:
François Vantomme 2022-11-15 14:33:56 +01:00
parent f9cb634afc
commit 17cad258dc
No known key found for this signature in database
GPG key ID: 7C090509B9BF8D09

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.