Skip to content

Commit

Permalink
deps: serve-static@2.0.0-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Feb 5, 2022
1 parent 3d05e85 commit f540aa3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ This incorporates all changes after 4.17.1 up to 4.17.2.
- deps: parseurl@~1.3.3
- deps: path-to-regexp@3.2.0
- deps: setprototypeof@1.2.0
* deps: serve-static@2.0.0-beta.1
- Change `dotfiles` option default to `'ignore'`
- Remove `hidden` option; use `dotfiles` option instead
- Use `mime-types` for file to content type mapping
- deps: send@1.0.0-beta.1

5.0.0-alpha.8 / 2020-03-25
==========================
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"router": "2.0.0-beta.1",
"safe-buffer": "5.2.1",
"send": "0.17.2",
"serve-static": "1.14.2",
"serve-static": "2.0.0-beta.1",
"setprototypeof": "1.2.0",
"statuses": "~1.5.0",
"type-is": "~1.6.18",
Expand Down
2 changes: 1 addition & 1 deletion test/express.static.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('express.static()', function () {
it('should set Content-Type', function (done) {
request(this.app)
.get('/todo.txt')
.expect('Content-Type', 'text/plain; charset=UTF-8')
.expect('Content-Type', 'text/plain; charset=utf-8')
.expect(200, done)
})

Expand Down

0 comments on commit f540aa3

Please sign in to comment.