From 803e510da0e305fb8d4486884a118e389a774cef Mon Sep 17 00:00:00 2001 From: yogiedigital Date: Sat, 20 Sep 2025 03:27:21 +0700 Subject: [PATCH] add env port --- src/App.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.jsx b/src/App.jsx index 8bc2756..f0cf767 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -44,7 +44,7 @@ function App() { try { // const connectUrl = `mqtt://${mqttOptions.host}:${mqttOptions.port}`; // const connectUrl = `${import.meta.env.VITE_MQTT_PROTOCOL}://${mqttOptions.host}:${mqttOptions.port}`; - const connectUrl = `ws://mqtt.idetama.id:443/wss`; + const connectUrl = `wss://mqtt.idetama.id:443/wss`; console.log('Attempting to connect to:', connectUrl); mqttClient = mqtt.connect(connectUrl, {