Add hello world example to readme & format code
This commit is contained in:
@@ -30,7 +30,7 @@ router { route: SayHello } = readTextFile UTF8 filePath >>= ok
|
||||
-- | Boot up the server
|
||||
main :: ServerM
|
||||
main =
|
||||
serve { port: 8080, onStarted } { route, router }
|
||||
serve { port: 8080, onStarted } { route, router }
|
||||
where
|
||||
onStarted = do
|
||||
log " ┌────────────────────────────────────────────┐"
|
||||
|
||||
Reference in New Issue
Block a user