fix: use string not pathPrefix for /healthz route (IHP v1.5 API)

This commit is contained in:
2026-05-03 13:33:20 +02:00
parent 9bc7e81e3b
commit 4a7244c2b0

View File

@@ -6,7 +6,7 @@ import Web.Types
instance CanRoute HealthController where instance CanRoute HealthController where
parseRoute' = do parseRoute' = do
pathPrefix "/healthz" _ <- string "/healthz"
endOfInput endOfInput
pure HealthAction pure HealthAction