From c883efcf41eec9c07d2f82d993a0965e54523b07 Mon Sep 17 00:00:00 2001 From: Mats Rauhala Date: Sat, 29 Sep 2018 21:40:18 +0300 Subject: [PATCH] Prefix api path with api/ --- src/API.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/API.hs b/src/API.hs index 35e1d5e..60d463f 100644 --- a/src/API.hs +++ b/src/API.hs @@ -31,5 +31,5 @@ instance Accept HTML where type API = "ipfs" :> IPFS.API -type DocumentedAPI = API +type DocumentedAPI = "api" :> API :<|> "help" :> Get '[PlainText, HTML] Docs