diff --git a/index.js b/index.js index 0e77efe..f6b7f01 100644 --- a/index.js +++ b/index.js @@ -3,8 +3,6 @@ const express = require('express'); const path = require('path'); var app = express(); -// Start the app by listening on the default Heroku port -var port = 8080; app.use(express.static(__dirname + '/dist')); app.use(express.static(__dirname + '/dist/assets')); @@ -12,7 +10,7 @@ app.get('*',function(req,res){ res.sendFile(__dirname + '/dist/index.html'); }); -app.listen(port, function() +app.listen(8080, function() { console.log("ok"); }); \ No newline at end of file