mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
change ssl port type in DB and fix apply
This commit is contained in:
@@ -73,7 +73,6 @@ func Start() {
|
||||
dlna.Start()
|
||||
}
|
||||
|
||||
log.TLogln(settings.BTsets)
|
||||
//check if https enabled
|
||||
if settings.Ssl {
|
||||
//if no cert and key files set in db/settings, generate new self-signed cert and key files
|
||||
@@ -92,7 +91,7 @@ func Start() {
|
||||
settings.SetBTSets(settings.BTsets)
|
||||
}
|
||||
go func() {
|
||||
log.TLogln("Starting https server at port", settings.SslPort)
|
||||
log.TLogln("Start https server at port", settings.SslPort)
|
||||
waitChan <- route.RunTLS(":"+settings.SslPort, settings.BTsets.SslCert, settings.BTsets.SslKey)
|
||||
}()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user