Skip to content

Commit

Permalink
port 8000 only in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentwoo committed Apr 9, 2012
1 parent 4fb642a commit 1debe92
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 @@ -52,7 +52,7 @@ server = connect.createServer(
})
);

server.listen(8000);
server.listen(process.env.NODE_ENV === 'development' ? 8000 : 80);

var io = io.listen(server);

Expand Down

0 comments on commit 1debe92

Please sign in to comment.