Skip to content

Commit

Permalink
Removes 'host' from server start. closes mui#398
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlplusb committed Apr 5, 2017
1 parent fbac4a4 commit 7c5338b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ app.get('*', reactApplication);
app.use(...errorHandlers);

// Create an http listener for our express app.
const listener = app.listen(config('port'), config('host'), () =>
console.log(`Server listening on port ${config('port')}`),
);
const listener = app.listen(config('port'), () =>
console.log(`Server listening on port ${config('port')}`));

// We export the listener as it will be handy for our development hot reloader,
// or for exposing a general extension layer for application customisations.
Expand Down

0 comments on commit 7c5338b

Please sign in to comment.