summaryrefslogtreecommitdiff
path: root/apps/hello/app.rc
diff options
context:
space:
mode:
authorglenda <glenda@9front.local>2020-11-15 15:13:27 +0000
committerglenda <glenda@9front.local>2020-11-15 15:13:27 +0000
commit39318169e0b50551db511851829f9337c5fa6313 (patch)
tree65a0ef5c1da9677532fa8105293d017919473057 /apps/hello/app.rc
Import site to git
Diffstat (limited to 'apps/hello/app.rc')
-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!'
+}