Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix missing param in response_app

Oliver Güntheraec7df1e51f9
diff --git a/config/environments/production.rb b/config/environments/production.rb
index fa6a1b2ee88..a699c44af96 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -188,7 +188,7 @@ Rails.application.configure do
base = OpenProject::Configuration["rails_relative_url_root"]
request.path.start_with?("#{base}/health_check", "#{base}/sys")
end,
- response_app: -> do
+ response_app: ->(_env) do
[400, { "Content-Type" => "text/plain" }, ["Invalid host_name configuration"]]
end
}