Selaa lähdekoodia

启动的时候输出 http 代理的信息

Signed-off-by: allan716 <[email protected]>
allan716 4 vuotta sitten
vanhempi
sitoutus
8527645c85
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6 0
      cmd/chinesesubfinder/main.go

+ 6 - 0
cmd/chinesesubfinder/main.go

@@ -41,6 +41,12 @@ func main() {
 	if config.UseProxy == false {
 		httpProxy = ""
 	}
+	if config.UseProxy == false {
+		log.Infoln("UseProxy = false")
+	} else {
+		log.Infoln("UseProxy:", httpProxy)
+	}
+
 	// 判断文件夹是否存在
 	if pkg.IsDir(config.MovieFolder) == false {
 		log.Errorln("MovieFolder not found")