diff options
Diffstat (limited to 'conf')
-rw-r--r-- | conf/clog.conf | 8 |
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 ^/.*$ { |