mirror of
https://github.com/fiatjaf/khatru.git
synced 2026-06-04 17:51:15 +02:00
blossom: return content-type in handleUpload() (#46)
This commit is contained in:
@@ -142,6 +142,7 @@ func (bs BlossomServer) handleUpload(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
// return response
|
||||
w.Header().Set("Content-Type", "application/json")
|
||||
json.NewEncoder(w).Encode(bd)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user