Skip to content

Commit

Permalink
Fixed port
Browse files Browse the repository at this point in the history
  • Loading branch information
ltseng committed Jan 24, 2013
1 parent c972809 commit 7ebec42
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 @@ -8,7 +8,7 @@ function start(route, handle) {
route(handle, pathname, response, request);
}

http.createServer(onRequest).listen(8888);
http.createServer(onRequest).listen(process.envPORT||8888);
console.log("Server has started.");
}

Expand Down

0 comments on commit 7ebec42

Please sign in to comment.