added heroku port

This commit is contained in:
Daniel Rodriguez 2019-08-19 20:15:56 +02:00
parent 33a41855ad
commit 225bfa64ca

View file

@ -10,7 +10,7 @@ app.get('*',function(req,res){
res.sendFile(__dirname + '/dist/TFTPaths/index.html'); res.sendFile(__dirname + '/dist/TFTPaths/index.html');
}); });
app.listen(8080, function() app.listen(process.env.PORT || 8080, function()
{ {
console.log("ok"); console.log("ok");
}); });