Added port varialbe

This commit is contained in:
2018-08-12 23:21:23 +02:00
parent 72bd648dae
commit 64fd1b338d

View File

@@ -11,7 +11,7 @@ app.use(history({
index: '/'
}));
var port = process.env.PORT || 5000;
app.get('/', function(req, res) {
res.sendFile(path.join(__dirname + '/index.html'));