werc/apps/hello/app.rc

11 lines
166 B
Plaintext
Raw Normal View History

2008-12-28 03:51:03 -07:00
fn hello_init {
if(~ $req_path /hello) {
app_body_handler = 'hello_body'
pageTitle='Hi title!'
}
}
fn hello_body {
echo 'Hello world!'
}