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:
parent
95fa5d9019
commit
4f630adb21
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ module Sidekiq
|
|||
end
|
||||
|
||||
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"
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue