mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 23:00:55 +03:00
back to development
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -170,7 +170,7 @@ func searchFsEvents(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
w.Header().Set("Content-Type", "application/json; charset=utf-8")
|
||||
w.Header().Set("Content-Type", "application/json")
|
||||
w.Write(data) //nolint:errcheck
|
||||
}
|
||||
|
||||
@@ -205,7 +205,7 @@ func searchProviderEvents(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
w.Header().Set("Content-Type", "application/json; charset=utf-8")
|
||||
w.Header().Set("Content-Type", "application/json")
|
||||
w.Write(data) //nolint:errcheck
|
||||
}
|
||||
|
||||
@@ -238,7 +238,7 @@ func searchLogEvents(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
w.Header().Set("Content-Type", "application/json; charset=utf-8")
|
||||
w.Header().Set("Content-Type", "application/json")
|
||||
w.Write(data) //nolint:errcheck
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user