add check tg token

This commit is contained in:
YouROK
2025-04-25 12:23:42 +03:00
parent 815af32649
commit 6fd7019926

View File

@@ -68,7 +68,9 @@ func Start(port, ip, sslport, sslCert, sslKey string, sslEnabled, roSets, search
settings.SslPort = sslport settings.SslPort = sslport
settings.IP = ip settings.IP = ip
if tgtoken != "" {
tgbot.Start(tgtoken) tgbot.Start(tgtoken)
}
web.Start() web.Start()
} }