From 927c9aae8b0e28b39f0ee913d9bf53a3c0687e43 Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Mon, 28 Nov 2016 00:59:52 -0600 Subject: LGTM-1 Create Initial Design Squashed commit of the following: commit 322c92fdfbbef070b171b700d24c6733ac2e0ef9 Author: Ben Beltran Date: Mon Nov 28 00:57:58 2016 -0600 Serve the basic design commit 702077266d36d190a454a2665b7e31c8f64746ac Author: Ben Beltran Date: Mon Nov 28 00:05:03 2016 -0600 Add linter configs commit 4c4dc29c555d44629fae39e5ed8831e304af570a Author: Ben Beltran Date: Sun Nov 27 23:49:07 2016 -0600 Add package.json --- config/config.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 config/config.js (limited to 'config') 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') +}; -- cgit