diff --git a/server.js b/server.js index 04f151a..3ecb6de 100644 --- a/server.js +++ b/server.js @@ -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."); }