Skip to content

Commit 2d624a7

Browse files
Merge pull request #1302 from nestjs/revert-1284-master
Revert "update helmet import"
2 parents 67a0c95 + 70a1e9d commit 2d624a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/security.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $ npm i --save helmet
1515
Once the installation is complete, apply it as a global middleware.
1616

1717
```typescript
18-
import helmet from 'helmet';
18+
import * as helmet from 'helmet';
1919
// somewhere in your initialization file
2020
app.use(helmet());
2121
```

0 commit comments

Comments
 (0)