From 7ebec42f862b0ad10072f0300b3cce5459a2124c Mon Sep 17 00:00:00 2001 From: ltseng Date: Wed, 23 Jan 2013 23:01:54 -0500 Subject: [PATCH] Fixed port --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 0d52b6a..04f151a 100644 --- a/server.js +++ b/server.js @@ -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."); }