Wrong api path
This commit is contained in:
1 parent
66018dca53
commit
a4b5b3c8a0
1 file changed
+1
-1
+1
-1
@@ -59,7 +59,7 @@ newtype Metrics = Metrics (HashMap Text SampleValue)
|
||||
data WallabagRoutes mode = WallabagRoutes
|
||||
{ _getHealth :: mode :- "health" :> Get '[PlainText, JSON] Health,
|
||||
_getMetrics :: mode :- "metrics" :> Get '[JSON] Metrics,
|
||||
_getVersion :: mode :- "metrics" :> Get '[JSON] Version
|
||||
_getVersion :: mode :- "version" :> Get '[JSON] Version
|
||||
}
|
||||
deriving (Generic)
|
||||
|
||||
|
||||
Reference in new issue
Block a user