aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael McVady <femtonaut@gmail.com>2022-03-30 09:51:19 -0500
committerMichael McVady <femtonaut@gmail.com>2022-03-30 09:51:19 -0500
commit3d3f5d598988ab01f0f45f4b3690cc19a2b849b6 (patch)
treeb7bc6373e53047a3de44cd77f1d3325fc8822db5
parent09ee9801b914a3cace1566c5ad1465645affcf62 (diff)
Update routing for kore-4.2.x
-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
+ }
}