khatru/blossom: return content-type in handleUpload()

This commit is contained in:
sudocarlos
2025-05-09 15:18:21 -03:00
committed by fiatjaf
parent adf874ca2e
commit ce382bbc47

View File

@@ -147,6 +147,7 @@ func (bs BlossomServer) handleUpload(w http.ResponseWriter, r *http.Request) {
} }
// return response // return response
w.Header().Set("Content-Type", "application/json")
json.NewEncoder(w).Encode(bd) json.NewEncoder(w).Encode(bd)
} }