diff --git a/src/API.hs b/src/API.hs index 60d463f..8870dca 100644 --- a/src/API.hs +++ b/src/API.hs @@ -29,7 +29,7 @@ instance MimeRender HTML Docs where instance Accept HTML where contentType _ = "text" // "html" /: ("charset", "utf-8") -type API = "ipfs" :> IPFS.API +type API = "api" :> ("ipfs" :> IPFS.API) -type DocumentedAPI = "api" :> API +type DocumentedAPI = API :<|> "help" :> Get '[PlainText, HTML] Docs