From 850df3b8721963b6fefc226b533c347cde79ff25 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Fri, 6 Jan 2023 06:31:15 -0600 Subject: Hack in POST handling; needs refactoring --- conf/clog.conf | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'conf') diff --git a/conf/clog.conf b/conf/clog.conf index 0cf3d26..9653e94 100644 --- a/conf/clog.conf +++ b/conf/clog.conf @@ -24,24 +24,19 @@ domain * { route / { handler posts + methods get } route /posts { handler posts - # TODO Handle HTTP POST request. methods get post } route ^/posts/[a-z0-9\-]+$ { - handler post + handler GET_post methods get } - route /toys { - handler toys - methods get post - } - route ^/.*$ { handler redirect } -- cgit v1.2.3