From 225bfa64ca630a9a6f8445f3f1d6d67aa91b1781 Mon Sep 17 00:00:00 2001 From: Daniel Rodriguez Date: Mon, 19 Aug 2019 20:15:56 +0200 Subject: [PATCH] added heroku port --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 6324098..60b4ed4 100644 --- a/index.js +++ b/index.js @@ -10,7 +10,7 @@ app.get('*',function(req,res){ res.sendFile(__dirname + '/dist/TFTPaths/index.html'); }); -app.listen(8080, function() +app.listen(process.env.PORT || 8080, function() { console.log("ok"); }); \ No newline at end of file