From a5a2832830031e2bbba41fb28a79fb4dfd6a6576 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 1 Sep 2017 23:30:24 -0700 Subject: use dotenv for config --- app.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app.js') diff --git a/app.js b/app.js index 9646818b..2b25b35b 100644 --- a/app.js +++ b/app.js @@ -6,6 +6,8 @@ const cache = require('./cache') const dotenv = require('dotenv') dotenv.config() +require('dotenv').config() + app = express() app.enable('trust proxy') app.use(require('./blockcypher')) -- cgit v1.2.3