add ver in log

This commit is contained in:
YouROK
2023-02-13 23:55:51 +03:00
parent f3ec7806f4
commit 5816dc1e2b

View File

@@ -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