forked from jchomaz/Vulture
Créer 2 scripts de lancement un pour le dev en local l'autre pour la prod
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
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'
|
||||
// Configuration DEV : localhost
|
||||
mqttBrokerUrl: 'ws://localhost:9001',
|
||||
|
||||
// IPs des buzzers
|
||||
11
VContainers/VApp/config/config_prod.js
Normal file
11
VContainers/VApp/config/config_prod.js
Normal file
@@ -0,0 +1,11 @@
|
||||
window.APP_CONFIG = {
|
||||
// URL du broker MQTT (WebSockets)
|
||||
// Configuration PROD : IP du serveur
|
||||
mqttBrokerUrl: 'ws://192.168.73.252:9001',
|
||||
|
||||
// IPs des buzzers
|
||||
redBuzzerIP: '192.168.73.40',
|
||||
blueBuzzerIP: '192.168.73.41',
|
||||
orangeBuzzerIP: '192.168.73.42',
|
||||
greenBuzzerIP: '192.168.73.43'
|
||||
};
|
||||
Reference in New Issue
Block a user