cosmetics

This commit is contained in:
nikk gitanes
2024-05-25 10:50:10 +03:00
parent dc3211dc4d
commit 99914a8678
3 changed files with 4 additions and 5 deletions

View File

@@ -73,7 +73,9 @@ func main() {
if params.HttpAuth {
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
dnsResolve()

View File

@@ -13,9 +13,6 @@ import (
func Start(port, sslport, sslCert, sslKey string, sslEnabled, roSets, searchWA bool) {
settings.InitSets(roSets, searchWA)
if roSets {
log.TLogln("Enabled Read-only DB mode!")
}
// https checks
if sslEnabled {
// set settings ssl enabled

View File

@@ -150,6 +150,6 @@ func loadBTSets() {
}
log.TLogln("Error unmarshal btsets", err)
}
// initialize defaults on error
SetDefaultConfig()
}