~kris/9p

krisyotam.net

ref: f269e2c7d5c244d42779b420cd5e3683ef2d58ca krisyotam.net/apps/hello/app.rc -rwxr-xr-x 165 bytes
f269e2c7 — Kris Yotam merge: bring emergency backup commit from plan9.krisyotam.com a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
fn hello_init {
    if(~ $req_path /hello) {
        handler_body_main='hello_body'
        pageTitle='Hi title!'
    }
}

fn hello_body {
    echo 'Hello world!'
}