mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 13:29:05 +01:00
Always print Listen to URL
This commit is contained in:
parent
89b1d8f7da
commit
8139673a7f
@ -375,9 +375,9 @@ func main() {
|
|||||||
MinVersion: tls.VersionTLS12,
|
MinVersion: tls.VersionTLS12,
|
||||||
PreferServerCipherSuites: true,
|
PreferServerCipherSuites: true,
|
||||||
})
|
})
|
||||||
log.Printf("HTTPS server listening at %s...", config.Keys.Addr)
|
fmt.Printf("HTTPS server listening at %s...", config.Keys.Addr)
|
||||||
} else {
|
} else {
|
||||||
log.Printf("HTTP server listening at %s...", config.Keys.Addr)
|
fmt.Printf("HTTP server listening at %s...", config.Keys.Addr)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Because this program will want to bind to a privileged port (like 80), the listener must
|
// Because this program will want to bind to a privileged port (like 80), the listener must
|
||||||
|
Loading…
Reference in New Issue
Block a user