We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58e409b commit 1e944f9Copy full SHA for 1e944f9
content/techniques/compression.md
@@ -33,7 +33,7 @@ $ npm i --save fastify-compress
33
Once the installation is complete, apply the fastify-compress middleware as global middleware.
34
35
```typescript
36
-import * as compression from 'fastify-compress';
+import compression from 'fastify-compress';
37
// somewhere in your initialization file
38
app.register(compression);
39
```
0 commit comments