aboutsummaryrefslogtreecommitdiff
path: root/server/default-conf
diff options
context:
space:
mode:
Diffstat (limited to 'server/default-conf')
-rw-r--r--server/default-conf/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/default-conf/Main.hs b/server/default-conf/Main.hs
index 36f6c12..cbfc476 100644
--- a/server/default-conf/Main.hs
+++ b/server/default-conf/Main.hs
@@ -14,7 +14,7 @@ import Control.Monad.Reader
14import Database.Persist.Sqlite 14import Database.Persist.Sqlite
15 15
16main :: IO () 16main :: IO ()
17main = thermoprintServer (Nat runSqlite) $ def `withPrinters` printers 17main = thermoprintServer True (Nat runSqlite) $ def `withPrinters` printers
18 where 18 where
19 runSqlite :: ReaderT ConnectionPool (LoggingT IO) a -> IO a 19 runSqlite :: ReaderT ConnectionPool (LoggingT IO) a -> IO a
20 runSqlite = runStderrLoggingT . withSqlitePool "thermoprint.sqlite" 1 . runReaderT 20 runSqlite = runStderrLoggingT . withSqlitePool "thermoprint.sqlite" 1 . runReaderT