aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMichael McVady <femtonaut@gmail.com>2023-02-25 13:32:49 -0600
committerMichael McVady <femtonaut@gmail.com>2023-02-25 13:32:49 -0600
commit100bd1f5c9d1788e956660499e4cf96ef121c1c5 (patch)
treed7b361058a487329b40745b1b23346b117b9e4e7 /conf
parent174907730bd2175bddc896cb6484918e2e5064f5 (diff)
Hack in PATCH `/posts` endpoint
Diffstat (limited to 'conf')
-rw-r--r--conf/clog.conf7
1 files changed, 6 insertions, 1 deletions
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
}