From 176668c4a1e7c949cbdb4ba387b7f187701e8db5 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Sat, 7 Jan 2023 14:28:48 -0600 Subject: Start refactor --- conf/clog.conf | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'conf') 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 } -- cgit v1.2.3