From 67736c2debc11fdcc397cdc5b253ca4de6630b81 Mon Sep 17 00:00:00 2001 From: Jules Date: Tue, 12 Dec 2017 18:55:40 -0500 Subject: use port from env --- bucky/app/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bucky/app/index.js') diff --git a/bucky/app/index.js b/bucky/app/index.js index 85c1d82..704802c 100644 --- a/bucky/app/index.js +++ b/bucky/app/index.js @@ -21,7 +21,7 @@ var app, server var site = module.exports = {} site.init = function(){ app = express() - app.set('port', 5000) + app.set('port', process.env.PORT || 5000) app.use(favicon(__dirname + '../../../public/favicon.ico')) app.use(bodyParser.json()) -- cgit v1.2.3-70-g09d2