From 85a1f20681b4f28b7e5230ef64c2b59e178ce638 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Fri, 12 Jan 2024 17:26:24 -0600 Subject: Flesh out search ... --- conf/clog.conf | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'conf') diff --git a/conf/clog.conf b/conf/clog.conf index 89e9880..cf870b1 100644 --- a/conf/clog.conf +++ b/conf/clog.conf @@ -35,9 +35,18 @@ domain * { methods get } + route ^/search$ { + handler search_entries + methods get + + validate qs:get query v_text + } + route ^/entries/search$ { handler search_entries methods get + + validate qs:get query v_text } route ^/entries/[a-z0-9\-]+$ { -- cgit v1.2.3