Fixing site example

This commit is contained in:
Jay McCarthy 2010-12-09 14:18:05 -07:00
parent 89f3c56625
commit 1b177f1788

View File

@ -56,8 +56,9 @@
@code{#lang web-server/insta @code{#lang web-server/insta
;; A "hello world" web server ;; A "hello world" web server
(define (start request) (define (start request)
(response/xexpr)
'(html '(html
(body "Hello World")))} (body "Hello World"))))}
@desc{This example implements a web server using the @desc{This example implements a web server using the
@elemcode{web-server/insta} language. Each time a connection is made to @elemcode{web-server/insta} language. Each time a connection is made to
the server, the @elemcode{start} function is called to get the HTML to the server, the @elemcode{start} function is called to get the HTML to