migrating repo to Bodyrep org

This commit is contained in:
2013-01-19 11:23:43 -05:00
parent 31b7303f43
commit 4ea082330b
891 changed files with 142706 additions and 0 deletions

17
node_modules/mongoose/static.js generated vendored Normal file
View File

@@ -0,0 +1,17 @@
var static = require('node-static');
var server = new static.Server('.', { cache: 0 });
require('http').createServer(function (req, res) {
req.on('end', function () {
server.serve(req, res, function (err) {
if (err) {
console.error(err, req.url);
res.writeHead(err.status, err.headers);
res.end();
}
});
});
}).listen(8088);
console.error('now listening on localhost:8088');