aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorstuebinm2023-01-28 21:09:44 +0100
committerstuebinm2023-01-28 21:09:44 +0100
commit9d0cbb1703114140cf940ac6e3f4a3e9b730d40e (patch)
treecfa5d689ad7eb4fc69b40a7979d16c33549578fc /app
parent53e7884ec03e870431064062519d3a94302bc480 (diff)
yaml be imprecise & confusing
Diffstat (limited to 'app')
-rw-r--r--app/Main.hs3
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