Endpoint for builder exec asn.1 data #10

Merged
reynir merged 4 commits from download-full into main 2025-01-15 13:23:33 +00:00
Showing only changes of commit 76ab741344 - Show all commits

View file

@ -522,8 +522,7 @@ let routes ~datadir ~cachedir ~configdir ~expired_jobs =
get_uuid build >>= fun uuid -> get_uuid build >>= fun uuid ->
Dream.sql req (Model.exec_of_build datadir uuid) Dream.sql req (Model.exec_of_build datadir uuid)
|> if_error "Error getting build" >>= fun exec -> |> if_error "Error getting build" >>= fun exec ->
ignore exec; Dream.respond ~headers:["Content-Type", "application/octet-stream"] exec
Dream.respond ~status:`Not_Found ""
|> Lwt_result.ok |> Lwt_result.ok
in in