diff options
author | Michael McVady <femtonaut@gmail.com> | 2023-01-07 14:28:48 -0600 |
---|---|---|
committer | Michael McVady <femtonaut@gmail.com> | 2023-01-07 14:28:48 -0600 |
commit | 176668c4a1e7c949cbdb4ba387b7f187701e8db5 (patch) | |
tree | 0e7a433965c565db366e10e74531c522968b2593 /conf/clog.conf | |
parent | 850df3b8721963b6fefc226b533c347cde79ff25 (diff) |
Start refactor
Diffstat (limited to 'conf/clog.conf')
-rw-r--r-- | conf/clog.conf | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/conf/clog.conf b/conf/clog.conf index 9653e94..1131930 100644 --- a/conf/clog.conf +++ b/conf/clog.conf @@ -23,17 +23,22 @@ domain * { filemap /static/ assets/static route / { - handler posts + handler get_posts methods get } route /posts { - handler posts - methods get post + handler get_posts + methods get + } + + route /posts { + handler post_posts + methods post } route ^/posts/[a-z0-9\-]+$ { - handler GET_post + handler get_posts_resource methods get } |