aboutsummaryrefslogtreecommitdiff
path: root/hsm-web/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'hsm-web/Main.hs')
-rw-r--r--hsm-web/Main.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/hsm-web/Main.hs b/hsm-web/Main.hs
index 6cbfa31..82e07c9 100644
--- a/hsm-web/Main.hs
+++ b/hsm-web/Main.hs
@@ -11,9 +11,9 @@ import Hsm.Web (runServer, runWeb)
-- Avoids package/module qualifiers in generated code
import Options.Applicative
-type Loggers = '["cam", "libcamera", "scotty", "web"]
+type Logs = '["cam", "libcamera", "scotty", "web"]
-$(makeLoggerOptionParser @Loggers "Options" "parser" 'Info)
+$(makeLoggerOptionParser @Logs "Options" "parser" 'Info)
main :: IO ()
-main = bootstrapAppNoEcho parser "Launch HsMouse Web Server" $ \opts -> runServer & runWeb & runCam & runLogsOpt @Options @Loggers opts & runEff
+main = bootstrapAppNoEcho parser "Launch HsMouse Web Server" $ \opts -> runServer & runWeb & runCam & runLogsOpt @Options @Logs opts & runEff