~kris/9p

krisyotam.net

ref: e60cf4fe0afb6a67a8806424c39080016d6da2e9 krisyotam.net/apps/hello/app.rc -rwxr-xr-x 165 bytes
e60cf4fe — Kris Yotam chore: sync local state after restore (push updates, no pull) 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!'
}