shithub: werc

ref: 2f73d1ccfe941f89ddb254d6fe4f094837d03309
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!'
}