Browse Source

add mqtts for secure check

Anish Mukherjee 2 years ago
parent
commit
bf793a5412
1 changed files with 1 additions and 1 deletions
  1. 1 1
      servercfg/serverconf.go

+ 1 - 1
servercfg/serverconf.go

@@ -248,7 +248,7 @@ func GetMessageQueueEndpoint() (string, bool) {
 	} else {
 		host += ":1883" // default
 	}
-	return host, strings.Contains(host, "wss") || strings.Contains(host, "ssl")
+	return host, strings.Contains(host, "wss") || strings.Contains(host, "ssl") || strings.Contains(host, "mqtts")
 }
 
 // GetBrokerType - returns the type of MQ broker