diff --git a/config/environments/development.rb b/config/environments/development.rb index cd89923a26..83086237db 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -52,7 +52,10 @@ Discourse::Application.configure do end end - config.load_mini_profiler = true + if !ENV["DISABLE_MINI_PROFILER"] + config.load_mini_profiler = true + end + if hosts = ENV['DISCOURSE_DEV_HOSTS'] config.hosts.concat(hosts.split(",")) end