diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Main.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Main.hs b/app/Main.hs index 7d0e41a..a61140a 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -34,6 +34,9 @@ main = do >>= (\c -> ifM (doesFileExist "./config.yaml") (addSource (ConfYaml.fromFilePath "./config.yaml") c) (pure c)) + >>= (\c -> ifM (doesFileExist "./config.yml") + (addSource (ConfYaml.fromFilePath "./config.yml") c) + (pure c)) >>= addSource (ConfAeson.fromFilePath "./config.json") settings@ServerConfig{..} <- fetch confconfig |