diff options
| author | Ben Beltran <ben@nsovocal.com> | 2016-11-28 00:59:52 -0600 |
|---|---|---|
| committer | Ben Beltran <ben@nsovocal.com> | 2016-11-28 00:59:52 -0600 |
| commit | 927c9aae8b0e28b39f0ee913d9bf53a3c0687e43 (patch) | |
| tree | 02966567b95d97ac1e74a536217a33f75a1bc567 /config | |
| parent | afe2612c99e19001753a87943a1f86519527e4e1 (diff) | |
LGTM-1 Create Initial Design
Squashed commit of the following:
commit 322c92fdfbbef070b171b700d24c6733ac2e0ef9
Author: Ben Beltran <ben@nsovocal.com>
Date: Mon Nov 28 00:57:58 2016 -0600
Serve the basic design
commit 702077266d36d190a454a2665b7e31c8f64746ac
Author: Ben Beltran <ben@nsovocal.com>
Date: Mon Nov 28 00:05:03 2016 -0600
Add linter configs
commit 4c4dc29c555d44629fae39e5ed8831e304af570a
Author: Ben Beltran <ben@nsovocal.com>
Date: Sun Nov 27 23:49:07 2016 -0600
Add package.json
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config/config.js b/config/config.js new file mode 100644 index 0000000..3204568 --- /dev/null +++ b/config/config.js @@ -0,0 +1,10 @@ +'use strict'; + +const Getenv = require('getenv'); + +const internals = {}; + +module.exports = internals.Config = { + port: Getenv.int('LGTM_PORT', 1728), + staticDirectory: Getenv('LGTM_STATIC_DIRECTORY', 'static') +}; |