summaryrefslogtreecommitdiff
path: root/apps/hello
diff options
context:
space:
mode:
Diffstat (limited to 'apps/hello')
-rwxr-xr-xapps/hello/app.rc10
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!'
+}