diff --git a/captcha.go b/captcha.go index 82481e1..2b9cf31 100644 --- a/captcha.go +++ b/captcha.go @@ -128,7 +128,7 @@ func (cp *Captcha) GenCaptchaImage(text string) (CaptchaResult, error) { result.ImageBase64 = fmt.Sprintf("data:%s;base64,%s", "image/png", base64.StdEncoding.EncodeToString(imageBytes)) result.Text = text - writeImageFile("./previews/test.png", imageBytes) + // writeImageFile("./previews/test.png", imageBytes) return result, nil }