feat: new configuration system (and schema) (#2819)

This commit is contained in:
Adam Cooke
2024-02-26 12:41:57 +00:00
committed by GitHub
parent 1c5ff5a9a6
commit 0163ac3d10
77 changed files with 1840 additions and 593 deletions
+2 -2
View File
@@ -38,9 +38,9 @@ module Postal
require "tracking_middleware"
config.middleware.insert_before ActionDispatch::HostAuthorization, TrackingMiddleware
config.hosts << Postal.config.web.host
config.hosts << Postal::Config.postal.web_hostname
if Postal.config.logging.rails_log == false
unless Postal::Config.logging.rails_log_enabled?
config.logger = Logger.new("/dev/null")
end