Commit Graph

14 Commits

Author SHA1 Message Date
omegascorp
26a1f8c44f Make possible to import ServeStaticOptions from outside. (#9540) 2016-06-07 00:51:57 +09:00
Daniel Whitney
25fde56c8d Added fallthrough option as added in v 1.10.0 (#9121)
* Update to include fallthrough option 

Fallthough added in 1.10.0: https://github.com/expressjs/serve-static/releases/tag/v1.10.0

* Update serve-static-tests.ts
2016-05-01 22:15:43 +09:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
David Gardiner
40191cf78c Remove circular dependency
express.d.ts and serve-static.d.ts had a circular dependency, which causes NuGet pain.
Extract core definitions from express.d.ts and move them to express-serve-static-core.d.ts
Update serve-static.d.ts to depend on express-serve-static-core.d.ts
2016-02-19 10:05:49 +10:30
Tanguy Krotoff
0fa4e9e613 Remove trailing spaces 2016-01-04 10:57:38 +01:00
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