Skip to content

Commit

Permalink
Merge pull request #2195 from Scrip7/patch-1
Browse files Browse the repository at this point in the history
docs(helmet): broken fastify reference link
  • Loading branch information
kamilmysliwiec authored Feb 4, 2022
2 parents 5c6b6c2 + 30fda62 commit 9b801da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/security/helmet.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ If you are using the `FastifyAdapter`, install the [fastify-helmet](https://gith
$ npm i --save fastify-helmet
```

[fastify-helmet](https://github.com/fastify/fastify-helmet) should not be used as a middleware, but as a [Fastify plugin](https://www.fastify.io/docs/latest/Plugins/), i.e., by using `app.register()`:
[fastify-helmet](https://github.com/fastify/fastify-helmet) should not be used as a middleware, but as a [Fastify plugin](https://www.fastify.io/docs/latest/Reference/Plugins/), i.e., by using `app.register()`:

```typescript
import { fastifyHelmet } from 'fastify-helmet';
Expand Down

0 comments on commit 9b801da

Please sign in to comment.