Skip to content

Commit

Permalink
Fixed port again
Browse files Browse the repository at this point in the history
  • Loading branch information
ltseng committed Jan 24, 2013
1 parent 7ebec42 commit 2007a60
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(process.envPORT||8888);
http.createServer(onRequest).listen(process.env.PORT||8888);
console.log("Server has started.");
}

Expand Down

0 comments on commit 2007a60

Please sign in to comment.