mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Add DISABLE_MINI_PROFILER development ENV variable
This commit is contained in:
@@ -52,7 +52,10 @@ Discourse::Application.configure do
|
||||
end
|
||||
end
|
||||
|
||||
if !ENV["DISABLE_MINI_PROFILER"]
|
||||
config.load_mini_profiler = true
|
||||
end
|
||||
|
||||
if hosts = ENV['DISCOURSE_DEV_HOSTS']
|
||||
config.hosts.concat(hosts.split(","))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user