Skip to content

Commit

Permalink
uncomment pako
Browse files Browse the repository at this point in the history
  • Loading branch information
akvlad committed Sep 3, 2024
1 parent b24e919 commit 44886ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qryn_node.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ let fastify = require('fastify')({
done()
}))
await fastify.register(require('@fastify/compress'), {
encodings: ['gzip']/*,
encodings: ['gzip'],
zlib: {
createGzip: () => {
const deflator = new pako.Deflate({ gzip: true })
Expand Down Expand Up @@ -152,7 +152,7 @@ let fastify = require('fastify')({
}
return res
}
}*/
}
})
await fastify.register(require('@fastify/url-data'))
await fastify.register(require('@fastify/websocket'))
Expand Down

0 comments on commit 44886ae

Please sign in to comment.