]> git.r.bdr.sh - rbdr/sorting-hat/blob - config/config.js
Add basic config
[rbdr/sorting-hat] / config / config.js
1 'use strict';
2
3 const Getenv = require('getenv2');
4
5 exports.deviceLocation = Getenv('SORTING_HAT_DEVICE_LOCATION', '/dev/tty.MindWaveMobile-SerialPo');
6 exports.mappingStrategy = Getenv('SORTING_HAT_MAPPING_STRATEGY', 'tmnt');
7 exports.port = Getenv('SORTING_HAT_PORT', 1987, 'int');