add env port
This commit is contained in:
@@ -52,6 +52,7 @@ function App() {
|
|||||||
clientId: 'mqttjs_' + Math.random().toString(16).substring(2, 8),
|
clientId: 'mqttjs_' + Math.random().toString(16).substring(2, 8),
|
||||||
connectTimeout: mqttOptions.connectTimeout,
|
connectTimeout: mqttOptions.connectTimeout,
|
||||||
reconnectPeriod: mqttOptions.reconnectPeriod,
|
reconnectPeriod: mqttOptions.reconnectPeriod,
|
||||||
|
rejectUnauthorized: false, // if using self-signed certs
|
||||||
clean: false,
|
clean: false,
|
||||||
keepalive: 30,
|
keepalive: 30,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user