aboutsummaryrefslogtreecommitdiff
path: root/conf/clog.conf
diff options
context:
space:
mode:
authorMichael McVady <femtonaut@gmail.com>2024-01-12 17:26:24 -0600
committerMichael McVady <femtonaut@gmail.com>2024-01-12 17:26:24 -0600
commit85a1f20681b4f28b7e5230ef64c2b59e178ce638 (patch)
treee3f45e05890d25e56a6e2f26034c2d65cd4b73db /conf/clog.conf
parentdd5411a8d709520c19a2e3577064b6c1bc289e64 (diff)
Flesh out search ...
Diffstat (limited to 'conf/clog.conf')
-rw-r--r--conf/clog.conf9
1 files changed, 9 insertions, 0 deletions
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\-]+$ {