aboutsummaryrefslogtreecommitdiff
path: root/conf/clog.conf
diff options
context:
space:
mode:
authorMichael McVady <femtonaut@gmail.com>2023-10-26 23:29:11 -0500
committerMichael McVady <femtonaut@gmail.com>2023-10-26 23:34:42 -0500
commita997ec6727b467fd72510a56bfe7a67eb04dbcf9 (patch)
treebbd1babe15bb83db10d831061a4dd5110638589c /conf/clog.conf
parente24dfc3412648c8b07a32a59774ed21f5058f7e0 (diff)
Remove JSON API
Diffstat (limited to 'conf/clog.conf')
-rw-r--r--conf/clog.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/clog.conf b/conf/clog.conf
index 01e1715..9a5e340 100644
--- a/conf/clog.conf
+++ b/conf/clog.conf
@@ -12,11 +12,12 @@ privsep worker {
root /var/chroot/clog
- # skip chroot
+ skip chroot
}
seccomp_tracing no
+validator v_uuid regex ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
validator v_number regex ^[0-9]*$
validator v_text function v_example_func
@@ -65,7 +66,7 @@ domain * {
handler post_form
methods post
- validate post id v_number
+ validate post id v_uuid
validate post title v_number
validate post body v_text
}