Skip to content

Commit

Permalink
Puts correct port for heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Roberts committed Aug 24, 2016
1 parent b210fad commit 545900b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/wobtranslate.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ app.get('/sentence', function (request, response) {
}
});

http.createServer(app).listen(8000);
http.createServer(app).listen(process.env.PORT || 8000);

//Return array of results of those promises that succeeded.
//Otherwise, returns array of all errors
Expand Down

0 comments on commit 545900b

Please sign in to comment.