Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/counter.hs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ server counter = counterPlusOne counter -- (+1) on the TVar
-- the whole server, including static file serving
server' :: TVar Counter -> Server TestApi'
server' counter = server counter
:<|> serveDirectory www -- serve static files
:<|> serveDirectoryFileServer www -- serve static files

runServer :: TVar Counter -- ^ shared variable for the counter
-> Int -- ^ port the server should listen on
Expand Down