aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to '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\-]+$ {