commit
badd8fd622
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ func parseFromTo(from, to string, limit float64) (time.Time, time.Time, error) {
|
|||
}
|
||||
|
||||
func writeTextResponse(c echo.Context, cLog *chatLog) error {
|
||||
c.Response().Header().Set(echo.HeaderContentType, echo.MIMETextPlain)
|
||||
c.Response().Header().Set(echo.HeaderContentType, echo.MIMETextPlainCharsetUTF8)
|
||||
c.Response().WriteHeader(http.StatusOK)
|
||||
|
||||
for _, cMessage := range cLog.Messages {
|
||||
|
|
Loading…
Add table
Reference in a new issue