diff options
author | stuebinm | 2023-01-28 21:09:44 +0100 |
---|---|---|
committer | stuebinm | 2023-01-28 21:09:44 +0100 |
commit | 9d0cbb1703114140cf940ac6e3f4a3e9b730d40e (patch) | |
tree | cfa5d689ad7eb4fc69b40a7979d16c33549578fc /app | |
parent | 53e7884ec03e870431064062519d3a94302bc480 (diff) |
yaml be imprecise & confusing
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 |