mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-26 08:53:05 +00:00
Fix charset typo in swagger.go
This commit is contained in:
parent
e1a95e2057
commit
e03b3029e3
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ func SwaggerAPIv1(
|
|||
writer http.ResponseWriter,
|
||||
req *http.Request,
|
||||
) {
|
||||
writer.Header().Set("Content-Type", "application/json; charset=utf-88")
|
||||
writer.Header().Set("Content-Type", "application/json; charset=utf-8")
|
||||
writer.WriteHeader(http.StatusOK)
|
||||
if _, err := writer.Write(apiV1JSON); err != nil {
|
||||
log.Error().
|
||||
|
|
Loading…
Reference in a new issue