diff options
Diffstat (limited to 'conf/clog.conf')
-rw-r--r-- | conf/clog.conf | 28 |
1 files changed, 14 insertions, 14 deletions
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 |