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