aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMichael McVady <femtonaut@gmail.com>2024-01-13 15:26:49 -0600
committerMichael McVady <femtonaut@gmail.com>2024-01-13 15:26:49 -0600
commit48ccb9949c85c7a9c9b896c3e50d66aefeaca701 (patch)
treeffe68f13cbad90eefadb25543cc838c9c9feefef /conf
parent193279017ac7da417f72c2073372204fd881ef70 (diff)
Fold search into index
Diffstat (limited to 'conf')
-rw-r--r--conf/clog.conf14
1 files changed, 2 insertions, 12 deletions
diff --git a/conf/clog.conf b/conf/clog.conf
index cf870b1..7ddcfd6 100644
--- a/conf/clog.conf
+++ b/conf/clog.conf
@@ -28,22 +28,12 @@ domain * {
route / {
handler get_index
methods get
- }
-
- route /entries {
- handler get_index
- methods get
- }
-
- route ^/search$ {
- handler search_entries
- methods get
validate qs:get query v_text
}
- route ^/entries/search$ {
- handler search_entries
+ route /entries {
+ handler get_index
methods get
validate qs:get query v_text