Fastify-compress ERR_CONTENT_DECODING_FAILED on Requests

Viewed 185

I'm using fastify-compress in my NestJS application like so...

nestApp.register(compression.default, { threshold: 10240, encodings: ['gzip', 'deflate'] });

Looking at the requests in the browser, I am seeing the following error...

ERR_CONTENT_DECODING_FAILED 200 (OK)

What am I missing?

0 Answers
Related