From 606f39cb00766e5be46b38e3c3034e702c3795e6 Mon Sep 17 00:00:00 2001 From: Mateus Cruz Date: Tue, 6 Feb 2024 03:08:10 -0300 Subject: chore: rename app --- bin/main.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/main.ml') diff --git a/bin/main.ml b/bin/main.ml index 03cc5ca..3839f6f 100644 --- a/bin/main.ml +++ b/bin/main.ml @@ -9,7 +9,7 @@ let setup_log ?style_renderer level = ;; let request_handler ~db_pool Server.{ request; _ } = - match Rinha.Router.match_route request.meth request.target with + match Combattant.Router.match_route request.meth request.target with | Some handler -> Result.get_ok @@ handler db_pool request | None -> Logs.info (fun d -> d "Não encontrei %S\n" request.target); @@ -29,7 +29,7 @@ let () = in let config = Server.Config.create config in let db_uri = - Uri.make ~scheme:"postgres" ~userinfo:"admin:123" ~host:"db" ~path:"rinha" () + Uri.make ~scheme:"postgres" ~userinfo:"admin:123" ~host:"db" ~path:"combattant" () in let db_pool = Result.get_ok -- cgit v1.2.3