Skip to content

Commit

Permalink
use serve-static for static middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanong committed Mar 6, 2014
1 parent f1315b9 commit 6ec1904
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 88 deletions.
2 changes: 1 addition & 1 deletion lib/express.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ exports.Router = Router;
* Expose middleware
*/

exports.static = require('./middleware/static');
exports.static = require('serve-static');
87 changes: 0 additions & 87 deletions lib/middleware/static.js

This file was deleted.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"utils-merge": "1.0.0",
"escape-html": "1.0.1",
"qs": "0.6.6",
"serve-static": "1.0.1",
"debug": ">= 0.7.3 < 1"
},
"devDependencies": {
Expand Down

0 comments on commit 6ec1904

Please sign in to comment.