From e03b3029e32090e1477ec15eab1c65b5a2628a75 Mon Sep 17 00:00:00 2001 From: Yujie Xia Date: Wed, 17 Aug 2022 12:27:58 +0800 Subject: [PATCH] Fix charset typo in swagger.go --- swagger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swagger.go b/swagger.go index 588b42a..306fc1f 100644 --- a/swagger.go +++ b/swagger.go @@ -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().