Changes in port
This commit is contained in:
parent
38b51999b8
commit
53b429ede0
1 changed files with 1 additions and 3 deletions
4
index.js
4
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");
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue