diff options
author | Michael McVady <femtonaut@gmail.com> | 2023-01-06 06:31:15 -0600 |
---|---|---|
committer | Michael McVady <femtonaut@gmail.com> | 2023-01-06 06:31:15 -0600 |
commit | 850df3b8721963b6fefc226b533c347cde79ff25 (patch) | |
tree | 4cba77c8f758d251ba61883820801abc879091c7 /conf/clog.conf | |
parent | d88f5cced222ac76511702a80e26dc7de8af93f3 (diff) |
Hack in POST handling; needs refactoring
Diffstat (limited to 'conf/clog.conf')
-rw-r--r-- | conf/clog.conf | 9 |
1 files changed, 2 insertions, 7 deletions
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 } |