Fixing site example
This commit is contained in:
parent
89f3c56625
commit
1b177f1788
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user