Skip to content

Commit

Permalink
chore: use @fastify/accept-negotiator (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak committed Jun 27, 2022
1 parent 9552ece commit ce4b768
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const contentDisposition = require('content-disposition')
const fp = require('fastify-plugin')
const util = require('util')
const globPromise = util.promisify(glob)
const encodingNegotiator = require('encoding-negotiator')
const encodingNegotiator = require('@fastify/accept-negotiator')

const dirList = require('./lib/dirList')

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"homepage": "https://github.com/fastify/fastify-static",
"dependencies": {
"content-disposition": "^0.5.3",
"encoding-negotiator": "^2.0.1",
"@fastify/accept-negotiator": "^1.0.0",
"fastify-plugin": "^3.0.0",
"glob": "^8.0.1",
"p-limit": "^3.1.0",
Expand Down

0 comments on commit ce4b768

Please sign in to comment.