Compare commits

..

2 Commits

Author SHA1 Message Date
56e1823589 Fix api 2018-09-29 22:24:21 +03:00
0cae4d898c Rename generator 2018-09-29 21:42:27 +03:00
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ executable rauhala-api
hs-source-dirs: executables
default-language: Haskell2010
executable generator
executable rauhala-api-js-gen
main-is: generator.hs
-- other-modules:
-- other-extensions:

View File

@ -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