Skip to content

Commit

Permalink
make it compatible with heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Cazala committed Dec 20, 2017
1 parent 52ed2b0 commit a1db678
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 @@ -2,4 +2,4 @@ const Proxy = require("./build");
const proxy = new Proxy({
dynamicPool: true
});
proxy.listen(8892);
proxy.listen(process.env.PORT || 8892);

0 comments on commit a1db678

Please sign in to comment.