diff options
Diffstat (limited to 'config/config.js')
| -rw-r--r-- | config/config.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/config.js b/config/config.js new file mode 100644 index 0000000..6e56a6a --- /dev/null +++ b/config/config.js @@ -0,0 +1,7 @@ +'use strict'; + +const Getenv = require('getenv2'); + +exports.deviceLocation = Getenv('SORTING_HAT_DEVICE_LOCATION', '/dev/tty.MindWaveMobile-SerialPo'); +exports.mappingStrategy = Getenv('SORTING_HAT_MAPPING_STRATEGY', 'tmnt'); +exports.port = Getenv('SORTING_HAT_PORT', 1987, 'int'); |