ocaml
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Server: fix mistaken HTTP method check

+1 -1
+1 -1
lib/server/Server.ml
··· 191 191 (URI.path_string forest.config.home) 192 192 | Search -> 193 193 let status = 194 - if not (request.meth = `POST) then `OK else `Method_not_allowed 194 + if request.meth = `POST then `OK else `Method_not_allowed 195 195 in 196 196 let body = search_handler ~request ~forest ~body:request_body in 197 197 Cohttp_eio.Server.respond_string ~body ~status ()