mirror of
https://github.com/postalserver/postal.git
synced 2026-10-18 18:26:06 +00:00
feat: new configuration system (and schema) (#2819)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user