diff options
author | Marc Coquand <marcc@fastmail.fr> | 2023-12-02 11:32:57 -0600 |
---|---|---|
committer | Marc Coquand <marcc@fastmail.fr> | 2023-12-02 11:32:57 -0600 |
commit | bf4fca518ea0b344518e3dc3ca0919d4ca9cf0bd (patch) | |
tree | 6d5ad181b3306e35f92dce03a02764e94a6a980c | |
parent | 84a6887f0cb1947b6113c3bb21c2fdf404f54675 (diff) | |
download | wormhole-bf4fca518ea0b344518e3dc3ca0919d4ca9cf0bd.tar.gz wormhole-bf4fca518ea0b344518e3dc3ca0919d4ca9cf0bd.tar.bz2 wormhole-bf4fca518ea0b344518e3dc3ca0919d4ca9cf0bd.zip |
Remove unused handlers
-rw-r--r-- | bin/main.ml | 2 |
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; |