aboutsummaryrefslogtreecommitdiffstats
path: root/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2017-09-09 21:58:47 -0700
committerAdam Soltys <[email protected]>2017-09-09 21:58:47 -0700
commitce0c25444f6d752944bbc962ae210cf24042f8d3 (patch)
tree051ff98c48ac0b4ab02791c948f4952cebc80b32 /app.js
parente30ba71ea6559d741209af9f8dfcd83133caa55d (diff)
downloadcoinos-server-ce0c25444f6d752944bbc962ae210cf24042f8d3.tar.gz
coinos-server-ce0c25444f6d752944bbc962ae210cf24042f8d3.zip
use dotenv for config
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app.js b/app.js
index b411d734..9646818b 100644
--- a/app.js
+++ b/app.js
@@ -3,6 +3,8 @@ const bodyParser = require('body-parser')
const cookieParser = require('cookie-parser')
const passport = require('./passport')
const cache = require('./cache')
+const dotenv = require('dotenv')
+dotenv.config()
app = express()
app.enable('trust proxy')