Navigation Menu

Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Apr 10, 2018
1 parent 1400296 commit 8dc096f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/server-compress.js
Expand Up @@ -5,7 +5,7 @@ const fastify = require('fastify')({ logger: { level: 'trace' } })

fastify
// compress everything
.register(require('fastify-compress'), { global: true, threshold: 0 })
.register(require('fastify-compress'), { threshold: 0 })
.register(require('../'), { root: path.join(__dirname, '/public') })
.listen(3000, err => {
if (err) throw err
Expand Down

0 comments on commit 8dc096f

Please sign in to comment.