Skip to content

Commit

Permalink
fix: default to listening on all addresses when using legacy config
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcooke committed Mar 5, 2024
1 parent e8e44f5 commit 48f6494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/postal/legacy_config_source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class LegacyConfigSource < Konfig::Sources::Abstract
"gelf.facility" => -> (c) { c.dig("logging", "graylog", "facility") },

"smtp_server.default_port" => -> (c) { c.dig("smtp_server", "port") },
"smtp_server.default_bind_address" => -> (c) { c.dig("smtp_server", "bind_address") },
"smtp_server.default_bind_address" => -> (c) { c.dig("smtp_server", "bind_address") || "::" },
"smtp_server.tls_enabled" => -> (c) { c.dig("smtp_server", "tls_enabled") },
"smtp_server.tls_certificate_path" => -> (c) { c.dig("smtp_server", "tls_certificate_path") },
"smtp_server.tls_private_key_path" => -> (c) { c.dig("smtp_server", "tls_private_key_path") },
Expand Down

0 comments on commit 48f6494

Please sign in to comment.