khatru/blossom: return content-type in handleUpload()
This commit is contained in:
@@ -147,6 +147,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