Skip to content

Commit

Permalink
Merge pull request #2873 from xegulon/patch-1
Browse files Browse the repository at this point in the history
Update cors.md - add precision about fastify
  • Loading branch information
kamilmysliwiec authored Oct 5, 2023
2 parents dbf366a + 248cebb commit 58bd488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/security/cors.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### CORS

Cross-origin resource sharing (CORS) is a mechanism that allows resources to be requested from another domain. Under the hood, Nest makes use of the Express [cors](https://github.com/expressjs/cors) package. This package provides various options that you can customize based on your requirements.
Cross-origin resource sharing (CORS) is a mechanism that allows resources to be requested from another domain. Under the hood, Nest makes use of the Express [cors](https://github.com/expressjs/cors) or Fastify [@fastify/cors](https://github.com/fastify/fastify-cors) packages depending on the underlying platform. These packages provide various options that you can customize based on your requirements.

#### Getting started

Expand Down

0 comments on commit 58bd488

Please sign in to comment.