Merge pull request #601 from timhabermaas/master
Fix typo in servant-js README
This commit is contained in:
commit
2a21e14e6e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue