From 53b429ede07465477a2ea2cac58acdd317b1c913 Mon Sep 17 00:00:00 2001 From: Daniel Rodriguez Date: Mon, 19 Aug 2019 20:09:13 +0200 Subject: [PATCH] Changes in port --- index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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