Skip to content

Commit

Permalink
Update server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Sevilleja authored Sep 6, 2016
1 parent 969d59f commit a81a9ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var express = require('express');
var expressLayouts = require('express-ejs-layouts');
var bodyParser = require('body-parser');
var app = express();
var port = 8080;
var port = process.env.PORT || 8080;

// use ejs and express layouts
app.set('view engine', 'ejs');
Expand Down

0 comments on commit a81a9ef

Please sign in to comment.