diff --git a/src/App.jsx b/src/App.jsx index 3723c7d..5808211 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -52,6 +52,7 @@ function App() { clientId: 'mqttjs_' + Math.random().toString(16).substring(2, 8), connectTimeout: mqttOptions.connectTimeout, reconnectPeriod: mqttOptions.reconnectPeriod, + rejectUnauthorized: false, // if using self-signed certs clean: false, keepalive: 30, });