change mqtt using env

This commit is contained in:
2025-09-19 15:33:20 +07:00
parent f97ebf3253
commit 431a060796

View File

@@ -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",