werc-1.5.0-tweaks/apps/hello/app.rc

11 lines
165 B
Plaintext
Raw Normal View History

fn hello_init {
if(~ $req_path /hello) {
handler_body_main='hello_body'
pageTitle='Hi title!'
}
}
fn hello_body {
echo 'Hello world!'
}