summaryrefslogtreecommitdiffhomepage
path: root/HTTP/Server.hs
diff options
context:
space:
mode:
Diffstat (limited to 'HTTP/Server.hs')
-rw-r--r--HTTP/Server.hs6
1 files changed, 1 insertions, 5 deletions
diff --git a/HTTP/Server.hs b/HTTP/Server.hs
index a26cd5e..7086167 100644
--- a/HTTP/Server.hs
+++ b/HTTP/Server.hs
@@ -44,15 +44,11 @@ userAPI :: Proxy HttpAPI
userAPI = Proxy
server :: ServerState -> Server HttpAPI
-server st = apiVersion
- :<|> motd
+server st = motd
:<|> getObject st
:<|> putObject st
:<|> countObjects st
-apiVersion :: Handler APIVersion
-apiVersion = return (APIVersion 1)
-
motd :: Handler Motd
motd = return $ Motd "Hello World!"