mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
add ver in log
This commit is contained in:
@@ -28,7 +28,7 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func Start(port string) {
|
func Start(port string) {
|
||||||
log.TLogln("Start TorrServer")
|
log.TLogln("Start TorrServer " + version.Version)
|
||||||
ips := getLocalIps()
|
ips := getLocalIps()
|
||||||
if len(ips) > 0 {
|
if len(ips) > 0 {
|
||||||
log.TLogln("Local IPs:", ips)
|
log.TLogln("Local IPs:", ips)
|
||||||
@@ -40,7 +40,7 @@ func Start(port string) {
|
|||||||
}
|
}
|
||||||
rutor.Start()
|
rutor.Start()
|
||||||
|
|
||||||
gin.SetMode(gin.ReleaseMode)
|
//gin.SetMode(gin.ReleaseMode)
|
||||||
|
|
||||||
//corsCfg := cors.DefaultConfig()
|
//corsCfg := cors.DefaultConfig()
|
||||||
//corsCfg.AllowAllOrigins = true
|
//corsCfg.AllowAllOrigins = true
|
||||||
|
|||||||
Reference in New Issue
Block a user