From 2e3ceb247fa63db0bbf9ba71f06be50eeda74445 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Sun, 29 Oct 2023 16:45:51 -0500 Subject: Refactor: `post` -> `entry` --- conf/clog.conf | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'conf/clog.conf') diff --git a/conf/clog.conf b/conf/clog.conf index 9a5e340..3476b52 100644 --- a/conf/clog.conf +++ b/conf/clog.conf @@ -12,7 +12,7 @@ privsep worker { root /var/chroot/clog - skip chroot + # skip chroot } seccomp_tracing no @@ -27,43 +27,43 @@ domain * { filemap /static/ assets/static route / { - handler get_posts + handler get_entries methods get } - route /posts { - handler get_posts + route /entries { + handler get_entries methods get } - route /posts { - handler post_posts + route /entries { + handler post_entry methods post } - route ^/posts/[a-z0-9\-]+$ { - handler get_posts_resource + route ^/entries/[a-z0-9\-]+$ { + handler get_entry methods get } - route ^/posts/[a-z0-9\-]+$ { - handler put_posts + route ^/entries/[a-z0-9\-]+$ { + handler put_entry methods put } - route ^/posts/[a-z0-9\-]+$ { - handler delete_posts + route ^/entries/[a-z0-9\-]+$ { + handler delete_entry methods delete } # toy endpoint route ^/form { - handler get_form + handler get_entry_form methods get } route ^/form { - handler post_form + handler post_entry_form methods post validate post id v_uuid -- cgit v1.2.3