mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-20 22:16:09 +05:00
add check tg token
This commit is contained in:
@@ -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()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user