mirror of
https://github.com/postalserver/postal.git
synced 2026-10-19 10:46:32 +00:00
feat: new configuration system (and schema) (#2819)
This commit is contained in:
+1
-2
@@ -5,6 +5,5 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
||||
require "bundler/setup" # Set up gems listed in the Gemfile.
|
||||
|
||||
require_relative "../lib/postal/config"
|
||||
Postal.check_config!
|
||||
|
||||
ENV["RAILS_ENV"] = Postal.config.rails&.environment || "development"
|
||||
ENV["RAILS_ENV"] = Postal::Config.rails.environment || "development"
|
||||
|
||||
Reference in New Issue
Block a user