'use strict';

const server = require('./app/server');

server.listen(80, () => {
  console.info('Server listening on port 80');
});

'use strict';

const server = require('./app/server');

let port = Number.parseInt(process.env.PORT || '8080');

server.listen(port, () => {
  console.info(`Server listening on port ${port}`);
});

Allow Heroku to specify a port
Allow Heroku to specify a port
