Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #15 from sebs/master

More docs and #5 closed
  • Loading branch information...
commit f14b837e45d8cf84fd9ceae57d9577f633aa8623 2 parents b15baad + 35a742b
@tj tj authored
Showing with 6 additions and 2 deletions.
  1. +2 −2 Readme.md
  2. +4 −0 package.json
View
4 Readme.md
@@ -17,7 +17,7 @@ var send = require('send');
var app = http.createServer(function(req, res){
send(req, req.url).pipe(res);
-});
+}).listen(3000);
```
Serving from a root directory with custom error-handling:
@@ -48,7 +48,7 @@ var app = http.createServer(function(req, res){
.on('error', error)
.on('directory', redirect)
.pipe(res);
-});
+}).listen(3000);
```
## API
View
4 package.json
@@ -19,5 +19,9 @@
"scripts": {
"test": "make test"
},
+ "repository" :
+ { "type" : "git"
+ , "url" : "git://github.com/visionmedia/send.git"
+ },
"main": "index"
}
Please sign in to comment.
Something went wrong with that request. Please try again.