diff --git a/src/Vervis/Application.hs b/src/Vervis/Application.hs index 63bb223..254c92f 100644 --- a/src/Vervis/Application.hs +++ b/src/Vervis/Application.hs @@ -232,7 +232,7 @@ getApplicationDev = do return (wsettings, app) getAppSettings :: IO AppSettings -getAppSettings = loadAppSettings [configSettingsYml] [] useEnv +getAppSettings = loadYamlSettings [configSettingsYml] [] useEnv -- | main function for use by yesod devel develMain :: IO () @@ -271,7 +271,7 @@ mailer foundation = appMain :: IO () appMain = do -- Get the settings from all relevant sources - settings <- loadAppSettingsArgs + settings <- loadYamlSettingsArgs -- Fall back to compile-time values, set to [] to require values at -- runtime [configSettingsYmlValue]