1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-12 18:52:50 +00:00

updated package.json

This commit is contained in:
2016-01-04 12:25:28 -05:00
parent 3443c97de4
commit 80ca24a715
1168 changed files with 73752 additions and 26424 deletions

View File

@@ -2,12 +2,12 @@ var util = require('util'),
http = require('http'),
argv = require('optimist').argv;
var port = argv.p || argv.port || 80;
var port = argv.p || argv.port || 8080;
http.createServer(function (req, res) {
console.log(req.method + ' request: ' + req.url);
res.writeHead(200, {'Content-Type': 'text/plain'});
res.write('hello, i know nodejitsu.');
res.write(JSON.stringify(argv));
res.end();
}).listen(port);