diff --git a/src/App.jsx b/src/App.jsx index 5808211..8bc2756 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -43,7 +43,8 @@ function App() { const connectToMqtt = () => { try { // const connectUrl = `mqtt://${mqttOptions.host}:${mqttOptions.port}`; - const connectUrl = `${import.meta.env.VITE_MQTT_PROTOCOL}://${mqttOptions.host}:${mqttOptions.port}`; + // const connectUrl = `${import.meta.env.VITE_MQTT_PROTOCOL}://${mqttOptions.host}:${mqttOptions.port}`; + const connectUrl = `ws://mqtt.idetama.id:443/wss`; console.log('Attempting to connect to:', connectUrl); mqttClient = mqtt.connect(connectUrl, {