From 431a0607967c4b585d6b4194634157ca5993126e Mon Sep 17 00:00:00 2001 From: yogiedigital Date: Fri, 19 Sep 2025 15:33:20 +0700 Subject: [PATCH] change mqtt using env --- src/App.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.jsx b/src/App.jsx index 7a70db1..35dc954 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -20,7 +20,7 @@ function App() { // MQTT connection options const mqttOptions = { - host: '117.102.231.130', + host: `${import.meta.env.VITE_MQTT_SERVER}`, // host: 'mosquitto-apotek-2', port: 7001, // protocol: "mqtt",