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