shithub: werc

ref: 09f04efe81a26de504943cf6218a409be6c745f6
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!'
}