mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
Merge branch 'master' into new-torrent
This commit is contained in:
@@ -57,8 +57,7 @@ func main() {
|
|||||||
settings.HttpAuth = params.HttpAuth
|
settings.HttpAuth = params.HttpAuth
|
||||||
log.Init(params.LogPath, params.WebLogPath)
|
log.Init(params.LogPath, params.WebLogPath)
|
||||||
fmt.Println("=========== START ===========")
|
fmt.Println("=========== START ===========")
|
||||||
fmt.Println("TorrServer", version.Version+",", runtime.Version())
|
fmt.Println("TorrServer", version.Version+",", runtime.Version()+",", "CPU Num:", runtime.NumCPU())
|
||||||
fmt.Println("CPU Num:", runtime.NumCPU())
|
|
||||||
if params.HttpAuth {
|
if params.HttpAuth {
|
||||||
log.TLogln("Use HTTP Auth file", settings.Path+"/accs.db")
|
log.TLogln("Use HTTP Auth file", settings.Path+"/accs.db")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,13 +2,13 @@ module server
|
|||||||
|
|
||||||
go 1.17
|
go 1.17
|
||||||
|
|
||||||
replace github.com/anacrolix/dms v1.3.0 => github.com/tsynik/dms v0.0.0-20211115041208-76e0609a5d1c
|
github.com/anacrolix/dms v1.3.0 => github.com/tsynik/dms v0.0.0-20210913141714-452c963535cf
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/alexflint/go-arg v1.4.2
|
github.com/alexflint/go-arg v1.4.2
|
||||||
github.com/anacrolix/dms v1.3.0
|
github.com/anacrolix/dms v1.3.0
|
||||||
github.com/anacrolix/missinggo v1.3.0
|
github.com/anacrolix/missinggo v1.3.0
|
||||||
github.com/anacrolix/torrent v1.39.0
|
github.com/anacrolix/torrent v1.39.1
|
||||||
github.com/gin-contrib/cors v1.3.1
|
github.com/gin-contrib/cors v1.3.1
|
||||||
github.com/gin-contrib/location v0.0.2
|
github.com/gin-contrib/location v0.0.2
|
||||||
github.com/gin-gonic/gin v1.7.4
|
github.com/gin-gonic/gin v1.7.4
|
||||||
|
|||||||
Reference in New Issue
Block a user