aboutsummaryrefslogtreecommitdiff
path: root/bin/main.ml
diff options
context:
space:
mode:
authorMarc Coquand <marcc@fastmail.fr>2023-12-02 11:32:57 -0600
committerMarc Coquand <marcc@fastmail.fr>2023-12-02 11:32:57 -0600
commitbf4fca518ea0b344518e3dc3ca0919d4ca9cf0bd (patch)
tree6d5ad181b3306e35f92dce03a02764e94a6a980c /bin/main.ml
parent84a6887f0cb1947b6113c3bb21c2fdf404f54675 (diff)
downloadwormhole-bf4fca518ea0b344518e3dc3ca0919d4ca9cf0bd.tar.gz
wormhole-bf4fca518ea0b344518e3dc3ca0919d4ca9cf0bd.tar.bz2
wormhole-bf4fca518ea0b344518e3dc3ca0919d4ca9cf0bd.zip
Remove unused handlers
Diffstat (limited to 'bin/main.ml')
-rw-r--r--bin/main.ml2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/main.ml b/bin/main.ml
index 67c9786..3a2e106 100644
--- a/bin/main.ml
+++ b/bin/main.ml
@@ -78,8 +78,6 @@ let () =
Dream.log "Sending greeting to %s!" (Dream.client request);
let posts = Post.get_all () in
Template.render posts |> Dream.html);
- Dream.post "/clicked" (fun _ -> "<p>You clicked</p>" |> Dream.html);
- Dream.post "/login" (fun _ -> Login.render |> Dream.html);
Dream.post "/inbox" (fun request ->
let%lwt body = Dream.body request in
Dream.log "Got body: %s" body;