1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2024-12-28 22:14:52 +09:00

Load settings from default settings filename, not reading it from command line

This commit is contained in:
fr33domlover 2019-06-15 08:58:20 +00:00
parent 057f57ff0d
commit 2abb6a44a4

View file

@ -283,7 +283,10 @@ mailer foundation =
appMain :: IO () appMain :: IO ()
appMain = do appMain = do
-- Get the settings from all relevant sources -- Get the settings from all relevant sources
settings <- loadYamlSettingsArgs settings <- loadYamlSettings
-- Read settings from the settings file
[configSettingsYml]
-- Fall back to compile-time values, set to [] to require values at -- Fall back to compile-time values, set to [] to require values at
-- runtime -- runtime
--[configSettingsYmlValue] --[configSettingsYmlValue]