aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMichael McVady <femtonaut@gmail.com>2023-01-15 14:01:59 -0600
committerMichael McVady <femtonaut@gmail.com>2023-01-15 14:01:59 -0600
commit4bfab86f636f2392f92037058c783c2634ac2060 (patch)
tree5816a03c9fc7f9a3b993d69a1ecd83b5ec3655e1 /conf
parent3ff9bdbcb2cae776579dcfe781276172f05f000c (diff)
Hack in DELETE method without testing
Diffstat (limited to 'conf')
-rw-r--r--conf/clog.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/clog.conf b/conf/clog.conf
index 1131930..20bc77e 100644
--- a/conf/clog.conf
+++ b/conf/clog.conf
@@ -42,6 +42,11 @@ domain * {
methods get
}
+ route ^/posts/[a-z0-9\-]+$ {
+ handler delete_posts_resource
+ methods delete
+ }
+
route ^/.*$ {
handler redirect
}