Skip to content

Commit

Permalink
HEROKU CONNECT
Browse files Browse the repository at this point in the history
  • Loading branch information
oeloe100 committed Jun 7, 2017
1 parent 33dabc4 commit 4caeeff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ var router = express.Router();
var app = express();

var http = require('http');
var hostname = 'localhost';
var port = 3000;
//var hostname = 'localhost';
var port = process.env.PORT || 8080;

//====================================================================\\
const compileMain = pug.compileFile(__dirname + '/public/static/html/index.pug');
Expand Down Expand Up @@ -46,6 +46,6 @@ const server = http.createServer((req, res) => {
});

app.listen(port, hostname, () =>{
console.log(`Server running at http://${hostname}:${port}/`);
//console.log(`Server running at http://${hostname}:${port}/`);
});
//====================================================================\\
Binary file added public/static/img/heroku-windows-386.exe
Binary file not shown.
Binary file added public/static/img/heroku-windows-amd64.exe
Binary file not shown.

0 comments on commit 4caeeff

Please sign in to comment.