1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

fix env in web title

This commit is contained in:
Mike Perham 2020-01-13 17:03:18 -08:00
parent 95fa5d9019
commit 4f630adb21

View file

@ -295,7 +295,7 @@ module Sidekiq
end end
def environment_title_prefix def environment_title_prefix
environment = Sidekiq.options[:environment] || ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development" environment = Sidekiq.options[:environment] || ENV["APP_ENV"] || ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development"
"[#{environment.upcase}] " unless environment == "production" "[#{environment.upcase}] " unless environment == "production"
end end