mirror of
https://github.com/luckfox-eng29/kvm.git
synced 2026-05-11 01:38:24 +02:00
feat(tls): #330
This commit is contained in:
6
main.go
6
main.go
@@ -69,9 +69,13 @@ func Main() {
|
||||
}()
|
||||
//go RunFuseServer()
|
||||
go RunWebServer()
|
||||
|
||||
go RunWebSecureServer()
|
||||
// Web secure server is started only if TLS mode is enabled
|
||||
if config.TLSMode != "" {
|
||||
go RunWebSecureServer()
|
||||
startWebSecureServer()
|
||||
}
|
||||
|
||||
// As websocket client already checks if the cloud token is set, we can start it here.
|
||||
go RunWebsocketClient()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user