1
0
forked from jchomaz/Vulture

(fix) VNode: portable path

This commit is contained in:
2025-11-15 15:51:06 +01:00
parent 3e29bfca18
commit 1ff31e0991
3 changed files with 5 additions and 3 deletions

View File

@@ -132,7 +132,7 @@ function updateTeamTotalScore(teamColor, points) {
// Lecture du fichier de configuration
const config = JSON.parse(fs.readFileSync('\services\\config\\config_game.json', 'utf8'));
const config = JSON.parse(fs.readFileSync(path.join('services','config','config_game.json'), 'utf8'));
// Extraction des informations de config
const { services: { mqttHost, score: { MQTTconfig: { mqttScoreTopic, mqttScoreChangeTopic } } } } = config;