Skip to content

Commit f7b1894

Browse files
authored
helmet import was outdated
1 parent f905f95 commit f7b1894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/security/helmet.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 * as helmet from 'helmet';
18+
import helmet from 'helmet';
1919
// somewhere in your initialization file
2020
app.use(helmet());
2121
```

0 commit comments

Comments
 (0)