From 1e52fa4df63352835ea3020c727ea6093779e176 Mon Sep 17 00:00:00 2001 From: Lia Lenckowski Date: Wed, 23 Aug 2023 19:01:52 +0200 Subject: add yaml config --- src/Main.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Main.hs') 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 -- cgit v1.2.3-70-g09d2