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:
parent
057f57ff0d
commit
2abb6a44a4
1 changed files with 4 additions and 1 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue