Permalink
Browse files

fixed port

  • Loading branch information...
1 parent 1e4ad10 commit ec97930a099455aeb9cb96527c7fc0bae541406f Marcus Greenwood committed Feb 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 dummy.js
View
@@ -2,6 +2,6 @@ var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
-}).listen(1337, '127.0.0.1');
+}).listen(process.env.PORT, '127.0.0.1');
console.log('Server running at http://127.0.0.1:1337/');

0 comments on commit ec97930

Please sign in to comment.