Fix 'Hello World' app to work with modern app API. Thanks EthanG for pointing t… | |
git clone git://git.suckless.org/swerc | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit a6b711bf9d6f3ca5d51a186da9e8ca772e3fcd0c | |
parent c816cb0b2f79df015adbd6a4c4594eca4db2d08e | |
Author: Uriel <[email protected]> | |
Date: Sun, 6 Jun 2010 18:06:21 +0000 | |
Fix 'Hello World' app to work with modern app API. Thanks EthanG for pointing t… | |
Diffstat: | |
M apps/hello/app.rc | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/apps/hello/app.rc b/apps/hello/app.rc | |
@@ -1,6 +1,6 @@ | |
fn hello_init { | |
if(~ $req_path /hello) { | |
- app_body_handler = 'hello_body' | |
+ handler_body_main='hello_body' | |
pageTitle='Hi title!' | |
} | |
} |