aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/clog.conf14
1 files changed, 11 insertions, 3 deletions
diff --git a/conf/clog.conf b/conf/clog.conf
index a45a039..82c3df7 100644
--- a/conf/clog.conf
+++ b/conf/clog.conf
@@ -17,7 +17,15 @@ domain * {
filemap /static/ assets/static
- route / posts
- route /posts posts
- route ^/posts/[a-z0-9\-]+$ post
+ route / {
+ handler posts
+ }
+
+ route /posts {
+ handler posts
+ }
+
+ route ^/posts/[a-z0-9\-]+$ {
+ handler post
+ }
}