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

Merge pull request #15962 from opf/fix/hosts-config

Oliver Günther6e03b5d1de12
diff --cc config/constants/settings/definition.rb
index e5ce98023b9,09e3da12742..7a33d6ee062
--- a/config/constants/settings/definition.rb
+++ b/config/constants/settings/definition.rb
@@@ -530,8 -530,12 +530,12 @@@ module Setting
default_by_env: {
# We do not want to set a localhost host name in production
production: nil
- },
+ }
},
+ additional_host_names: {
+ description: "Additional allowed host names for the application.",
+ default: []
+ },
hours_per_day: {
description: "This will define what is considered a “day” when displaying duration in a more natural way " \
"(for example, if a day is 8 hours, 32 hours would be 4 days).",