Fix api
This commit is contained in:
parent
0cae4d898c
commit
56e1823589
@ -29,7 +29,7 @@ instance MimeRender HTML Docs where
|
|||||||
instance Accept HTML where
|
instance Accept HTML where
|
||||||
contentType _ = "text" // "html" /: ("charset", "utf-8")
|
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
|
:<|> "help" :> Get '[PlainText, HTML] Docs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user