From 100bd1f5c9d1788e956660499e4cf96ef121c1c5 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Sat, 25 Feb 2023 13:32:49 -0600 Subject: Hack in PATCH `/posts` endpoint --- conf/clog.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/clog.conf b/conf/clog.conf index 9000d65..f26429b 100644 --- a/conf/clog.conf +++ b/conf/clog.conf @@ -43,7 +43,12 @@ domain * { } route ^/posts/[a-z0-9\-]+$ { - handler delete_posts_resource + handler put_posts + methods put + } + + route ^/posts/[a-z0-9\-]+$ { + handler delete_posts methods delete } -- cgit v1.2.3