Update tg.go

This commit is contained in:
cdle
2021-10-14 05:36:55 +08:00
committed by GitHub
parent 0eaf5f276c
commit 626f2bb60f
+1 -1
View File
@@ -64,7 +64,7 @@ func init() {
Token: token,
Poller: &tb.LongPoller{Timeout: 10 * time.Second},
// ParseMode: tb.ModeMarkdownV2,
Url: tg.Get("url"),
}
if url := tg.Get("http_proxy"); url != "" {
client, clientErr := buildClientWithProxy(url)