shithub: werc

Download patch

ref: cf0744295cf6ad9df5eb92ffc0e3a749b8beec72
parent: e41deb9b834d13e2f38ca14177bb0380091ad794
author: Uriel <[email protected]>
date: Sun Jun 6 14:06:21 EDT 2010

Fix 'Hello World' app to work with modern app API. Thanks EthanG for pointing this out.

--- 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!'
     }
 }