aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorLia Lenckowski <lialenck@protonmail.com>2023-08-23 19:01:52 +0200
committerLia Lenckowski <lialenck@protonmail.com>2023-08-23 19:01:52 +0200
commit1e52fa4df63352835ea3020c727ea6093779e176 (patch)
tree7c82b75c853b8c65b94bae938477815c6c3eee9f /src/Main.hs
parentc85a846fcee843ae830d1acd0833ddf95fbb3d7e (diff)
downloadfastbangs-1e52fa4df63352835ea3020c727ea6093779e176.tar
fastbangs-1e52fa4df63352835ea3020c727ea6093779e176.tar.bz2
fastbangs-1e52fa4df63352835ea3020c727ea6093779e176.tar.zst
add yaml config
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 74cc170..0f0146c 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -160,6 +160,7 @@ main = runStdoutLoggingT $ withSqlitePool "banger.db" 2 $ \pool -> do
bs <- liftIO initBangState
cfg <- liftIO getConfig
+ $(logInfo) $ "Using config: " <> T.pack (show cfg)
sApp <- liftIO $ toWaiApp $ Search bs pool cfg -- includes middlewares