diff options
Diffstat (limited to 'apps/hello')
-rwxr-xr-x | apps/hello/app.rc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/hello/app.rc b/apps/hello/app.rc new file mode 100755 index 0000000..e6faaa8 --- /dev/null +++ b/apps/hello/app.rc @@ -0,0 +1,10 @@ +fn hello_init { + if(~ $req_path /hello) { + handler_body_main='hello_body' + pageTitle='Hi title!' + } +} + +fn hello_body { + echo 'Hello world!' +} |