aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMichael McVady <femtonaut@gmail.com>2024-01-12 16:33:49 -0600
committerMichael McVady <femtonaut@gmail.com>2024-01-12 16:33:53 -0600
commitdd5411a8d709520c19a2e3577064b6c1bc289e64 (patch)
treed44967e5fad879a7575e3bb8155e96aba109bf5f /conf
parent660d6e73218229c6ac08ac2b7a19819169529fc8 (diff)
Stub out search ...
Diffstat (limited to 'conf')
-rw-r--r--conf/clog.conf15
1 files changed, 10 insertions, 5 deletions
diff --git a/conf/clog.conf b/conf/clog.conf
index e305ca4..89e9880 100644
--- a/conf/clog.conf
+++ b/conf/clog.conf
@@ -35,11 +35,21 @@ domain * {
methods get
}
+ route ^/entries/search$ {
+ handler search_entries
+ methods get
+ }
+
route ^/entries/[a-z0-9\-]+$ {
handler get_entry
methods get
}
+ route ^/entries/[a-z0-9\-]+/edit$ {
+ handler edit_entry
+ methods get
+ }
+
route ^/entries/[a-z0-9\-]+$ {
handler update_entry
methods post
@@ -49,11 +59,6 @@ domain * {
validate post body v_text
}
- route ^/entries/[a-z0-9\-]+/edit$ {
- handler edit_entry
- methods get
- }
-
route ^/.*$ {
handler redirect
}