mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
cosmetics
This commit is contained in:
@@ -73,7 +73,9 @@ func main() {
|
|||||||
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")
|
||||||
}
|
}
|
||||||
|
if params.RDB {
|
||||||
|
log.TLogln("Running in Read-only DB mode!")
|
||||||
|
}
|
||||||
docs.SwaggerInfo.Version = version.Version
|
docs.SwaggerInfo.Version = version.Version
|
||||||
|
|
||||||
dnsResolve()
|
dnsResolve()
|
||||||
|
|||||||
@@ -13,9 +13,6 @@ import (
|
|||||||
|
|
||||||
func Start(port, sslport, sslCert, sslKey string, sslEnabled, roSets, searchWA bool) {
|
func Start(port, sslport, sslCert, sslKey string, sslEnabled, roSets, searchWA bool) {
|
||||||
settings.InitSets(roSets, searchWA)
|
settings.InitSets(roSets, searchWA)
|
||||||
if roSets {
|
|
||||||
log.TLogln("Enabled Read-only DB mode!")
|
|
||||||
}
|
|
||||||
// https checks
|
// https checks
|
||||||
if sslEnabled {
|
if sslEnabled {
|
||||||
// set settings ssl enabled
|
// set settings ssl enabled
|
||||||
|
|||||||
@@ -150,6 +150,6 @@ func loadBTSets() {
|
|||||||
}
|
}
|
||||||
log.TLogln("Error unmarshal btsets", err)
|
log.TLogln("Error unmarshal btsets", err)
|
||||||
}
|
}
|
||||||
|
// initialize defaults on error
|
||||||
SetDefaultConfig()
|
SetDefaultConfig()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user