added heroku port
This commit is contained in:
parent
33a41855ad
commit
225bfa64ca
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -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");
|
||||||
});
|
});
|
||||||
Loading…
Add table
Add a link
Reference in a new issue