Improvements
This commit is contained in:
parent
a001a4104e
commit
e752c006c3
1 changed files with 1 additions and 0 deletions
|
@ -120,6 +120,7 @@ func scanHandler(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
|
||||
s := <-response
|
||||
|
||||
w.Header().Set("Content-Type", "application/json; charset=utf-8")
|
||||
|
||||
respJson, err := json.Marshal(&s)
|
||||
|
|
Loading…
Add table
Reference in a new issue