wangshan 6 сар өмнө
parent
commit
280efad355
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      gocaptcha/start.go

+ 1 - 1
gocaptcha/start.go

@@ -23,7 +23,7 @@ var TextCharacters = []rune("ACDEFGHJKLMNPQRSTUVWXY2456789")
 
 // 初始化字体文件
 func InitCaptcha() {
-	err := SetFontPath("app.yhyue.com/moapp/jybase/gocaptcha/fonts/")
+	err := SetFontPath("./fonts/")
 	if err != nil {
 		log.Println(err)
 	}