Skip to content

Commit

Permalink
fix(deface): add add deface setup variable
Browse files Browse the repository at this point in the history
  • Loading branch information
moustachu committed Aug 22, 2024
1 parent 1be7152 commit 8090325
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,6 @@
exclude: ->(request) { /health_check|sidekiq_alive/.match?(request.path) }
}
}

config.deface.enabled = ENV.fetch("DEFACE_ENABLED", nil) == "true"
end

0 comments on commit 8090325

Please sign in to comment.