Skip to content

Commit c1ec97f

Browse files
Merge pull request #1509 from EtienneGhiringhelli/patch-1
Updated import from fastify-compress
2 parents 58e409b + 1e944f9 commit c1ec97f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/compression.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $ npm i --save fastify-compress
3333
Once the installation is complete, apply the fastify-compress middleware as global middleware.
3434

3535
```typescript
36-
import * as compression from 'fastify-compress';
36+
import compression from 'fastify-compress';
3737
// somewhere in your initialization file
3838
app.register(compression);
3939
```

0 commit comments

Comments
 (0)