werc/apps/hello/app.rc

11 lines
165 B
Plaintext
Raw Normal View History

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