diff --git a/servant-js/README.md b/servant-js/README.md index e92f9f2d..f2c99616 100644 --- a/servant-js/README.md +++ b/servant-js/README.md @@ -78,8 +78,8 @@ server counter = counterPlusOne counter -- (+1) on the TVar :<|> currentValue counter -- read the TVar server' :: TVar Counter -> Server TestApi' -server counter = server counter - :<|> serveDirectory www -- serve static files +server' counter = server counter + :<|> serveDirectory www -- serve static files runServer :: TVar Counter -- ^ shared variable for the counter -> Int -- ^ port the server should listen on