1
0
forked from jchomaz/Vulture

gestion d'une config pour les ip si prod ou dev

This commit is contained in:
2025-11-30 10:52:49 +01:00
parent 6633ecbe70
commit 10a04de1e6
5 changed files with 32 additions and 11 deletions

View File

@@ -0,0 +1,12 @@
window.APP_CONFIG = {
// URL du broker MQTT (WebSockets)
// En dev local avec le setup VContainers, utiliser 'ws://localhost:9001'
// En prod, utiliser l'IP du serveur, ex: 'ws://192.168.73.252:9001'
mqttBrokerUrl: 'ws://localhost:9001',
// IPs des buzzers
redBuzzerIP: '192.168.73.40',
blueBuzzerIP: '192.168.73.41',
orangeBuzzerIP: '192.168.73.42',
greenBuzzerIP: '192.168.73.43'
};