Commit Graph

7 Commits

Author SHA1 Message Date
Kyle Gretchev
52ef0043e7 Converted imports to ES6 module syntax 2015-08-04 20:47:16 -04:00
Kwang Yul Seo
6bac4335fd Improve types of serveStatic's option parameter.
* index accepts a new index string or an array of string.
* maxAges accepts a string accepted by the ms module.
2015-07-18 15:58:23 +09:00
Ole Rehmsen
813035a67f Add type definition for the mime property exposed on serve-static.
JS source of serve-static exposes npm module mime, see: https://github.com/expressjs/serve-static/blob/master/index.js#L122
2015-06-11 21:35:17 +02:00
Florian Holzapfel
6c3794e396 fix header 2015-03-19 16:59:53 +01:00
Florian Holzapfel
fbf1fa4327 add tests 2015-03-19 16:35:26 +01:00
Florian Holzapfel
85ea8ee338 fix types 2015-03-19 16:35:16 +01:00
Uros Smolnik
332c0f8d56 express 4.x middleware
- response-time
 - serve-favicon
 - serve-static
2014-11-04 21:22:07 +01:00