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) {
|
||||
log.TLogln("Start TorrServer")
|
||||
log.TLogln("Start TorrServer " + version.Version)
|
||||
ips := getLocalIps()
|
||||
if len(ips) > 0 {
|
||||
log.TLogln("Local IPs:", ips)
|
||||
@@ -40,7 +40,7 @@ func Start(port string) {
|
||||
}
|
||||
rutor.Start()
|
||||
|
||||
gin.SetMode(gin.ReleaseMode)
|
||||
//gin.SetMode(gin.ReleaseMode)
|
||||
|
||||
//corsCfg := cors.DefaultConfig()
|
||||
//corsCfg.AllowAllOrigins = true
|
||||
|
||||
Reference in New Issue
Block a user