diff --git a/main.go b/main.go index 520465d..009d283 100644 --- a/main.go +++ b/main.go @@ -24,7 +24,7 @@ import ( const ( defaultListen = ":3333" defaultDir = "./images" - defaultWidth = 80 + defaultWidth = 130 cacheSuffixFmt = ".ansi.%d.txt" allowedUA = "curl" maxImageDim = 2000 @@ -123,7 +123,7 @@ func rootHandler(w http.ResponseWriter, r *http.Request) { } defer f.Close() - w.Header().Set("Content-Type", "text/plain; charset=utf-8") + w.Header().Set("Content-Type", "text/plain; charset=utf8") w.WriteHeader(http.StatusOK) if _, err := io.Copy(w, f); err != nil { log.Printf("write error: %v", err)