From a997ec6727b467fd72510a56bfe7a67eb04dbcf9 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Thu, 26 Oct 2023 23:29:11 -0500 Subject: Remove JSON API --- conf/clog.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'conf/clog.conf') 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 } -- cgit v1.2.3