aboutsummaryrefslogtreecommitdiff
path: root/conf/clog.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/clog.conf')
-rw-r--r--conf/clog.conf9
1 files changed, 2 insertions, 7 deletions
diff --git a/conf/clog.conf b/conf/clog.conf
index 0cf3d26..9653e94 100644
--- a/conf/clog.conf
+++ b/conf/clog.conf
@@ -24,24 +24,19 @@ domain * {
route / {
handler posts
+ methods get
}
route /posts {
handler posts
- # TODO Handle HTTP POST request.
methods get post
}
route ^/posts/[a-z0-9\-]+$ {
- handler post
+ handler GET_post
methods get
}
- route /toys {
- handler toys
- methods get post
- }
-
route ^/.*$ {
handler redirect
}