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