generated from coulomb/repo-seed
17 lines
344 B
Haskell
17 lines
344 B
Haskell
module Web.Routes where
|
|
|
|
import IHP.RouterPrelude
|
|
import Generated.Types
|
|
import Web.Types
|
|
|
|
instance CanRoute HealthController where
|
|
parseRoute' = do
|
|
_ <- string "/healthz"
|
|
endOfInput
|
|
pure HealthAction
|
|
|
|
instance HasPath HealthController where
|
|
pathTo HealthAction = "/healthz"
|
|
|
|
instance AutoRoute ProbesController
|