From 76ab74134471b813b7b1ef7bcc5e4bc7f0ded30c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Wed, 15 Jan 2025 09:52:48 +0100 Subject: [PATCH] Actually return the builder exec data --- lib/builder_web.ml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/builder_web.ml b/lib/builder_web.ml index 92ff5b2..0a6ec41 100644 --- a/lib/builder_web.ml +++ b/lib/builder_web.ml @@ -522,8 +522,7 @@ let routes ~datadir ~cachedir ~configdir ~expired_jobs = get_uuid build >>= fun uuid -> Dream.sql req (Model.exec_of_build datadir uuid) |> if_error "Error getting build" >>= fun exec -> - ignore exec; - Dream.respond ~status:`Not_Found "" + Dream.respond ~headers:["Content-Type", "application/octet-stream"] exec |> Lwt_result.ok in