shithub: werc

ref: b890372495c75c386e2917778487c0ac3c01d803
dir: /apps/hello/app.rc/

View raw version
fn hello_init {
    if(~ $req_path /hello) {
        app_body_handler = 'hello_body'
        pageTitle='Hi title!'
    }
}

fn hello_body {
    echo 'Hello world!'
}