diff options
Diffstat (limited to 'server/default-conf/Main.hs')
| -rw-r--r-- | server/default-conf/Main.hs | 2 |
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 | |||
| 14 | import Database.Persist.Sqlite | 14 | import Database.Persist.Sqlite |
| 15 | 15 | ||
| 16 | main :: IO () | 16 | main :: IO () |
| 17 | main = thermoprintServer (Nat runSqlite) $ def `withPrinters` printers | 17 | main = 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 |
