This commit is contained in:
Mukhtar Akere
2025-04-29 12:07:01 +01:00
parent 6c2bfa811a
commit c0703cb622
3 changed files with 5 additions and 4 deletions

View File

@@ -349,7 +349,7 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
Err(err).
Str("path", r.URL.Path).
Msg("Could not fetch download link")
http.Error(w, "Could not fetch download link", http.StatusServiceUnavailable)
http.Error(w, "Could not fetch download link", http.StatusPreconditionFailed)
return
}
if link == "" {