aboutsummaryrefslogtreecommitdiff
path: root/hsm-web/Main.hs
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2026-01-02 05:53:10 +0000
committerPaul Oliver <contact@pauloliver.dev>2026-01-02 05:53:10 +0000
commit62fce45039b0b8ab3d9d42b69a000fec00e1d35e (patch)
tree84940c6d32c00e5a4b935e4da5b3cf95f1d1aca8 /hsm-web/Main.hs
parenta0f0f6985e67ddbce929bf3da6832c443db5293d (diff)
Removes hsm-cam
Diffstat (limited to 'hsm-web/Main.hs')
-rw-r--r--hsm-web/Main.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/hsm-web/Main.hs b/hsm-web/Main.hs
index 82e07c9..7555067 100644
--- a/hsm-web/Main.hs
+++ b/hsm-web/Main.hs
@@ -2,7 +2,6 @@
import Data.Function ((&))
import Effectful (runEff)
-import Hsm.Cam (runCam)
import Hsm.Core.App (bootstrapAppNoEcho)
import Hsm.Log (Severity (Info), runLogsOpt)
import Hsm.Log.Options (makeLoggerOptionParser)
@@ -11,9 +10,9 @@ import Hsm.Web (runServer, runWeb)
-- Avoids package/module qualifiers in generated code
import Options.Applicative
-type Logs = '["cam", "libcamera", "scotty", "web"]
+type Logs = '["scotty", "web"]
$(makeLoggerOptionParser @Logs "Options" "parser" 'Info)
main :: IO ()
-main = bootstrapAppNoEcho parser "Launch HsMouse Web Server" $ \opts -> runServer & runWeb & runCam & runLogsOpt @Options @Logs opts & runEff
+main = bootstrapAppNoEcho parser "Launch HsMouse Web Server" $ \opts -> runServer & runWeb & runLogsOpt @Options @Logs opts & runEff