Better page :-)

This commit is contained in:
Tony Garnock-Jones 2014-06-21 12:08:40 -04:00
parent 50fc02f899
commit b98e0bedb8
1 changed files with 6 additions and 1 deletions

View File

@ -99,7 +99,12 @@
(list
(send #:meta-level 1
(tcp-channel us them
#"HTTP/1.0 200 OK\r\n\r\n<h1>Hello world from minimart-netstack!</h1>"))
(bytes-append
#"HTTP/1.0 200 OK\r\n\r\n"
#"<h1>Hello world from minimart-netstack!</h1>\n"
#"<p>This is running on minimart's own\n"
#"<a href='https://github.com/tonyg/minimart-netstack/'>\n"
#"TCP/IP stack</a>.</p>")))
(spawn (lambda (e s)
(match e
[(routing-update g) (transition s (quit))]