From 2abb6a44a49d9b43701525c06334a35e9995a3d9 Mon Sep 17 00:00:00 2001 From: fr33domlover Date: Sat, 15 Jun 2019 08:58:20 +0000 Subject: [PATCH] Load settings from default settings filename, not reading it from command line --- src/Vervis/Application.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Vervis/Application.hs b/src/Vervis/Application.hs index 9422b09..9cf0013 100644 --- a/src/Vervis/Application.hs +++ b/src/Vervis/Application.hs @@ -283,7 +283,10 @@ mailer foundation = appMain :: IO () appMain = do -- 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 -- runtime --[configSettingsYmlValue]