Skip to content

Commit

Permalink
Update cors.md - add precision about fastify
Browse files Browse the repository at this point in the history
precise which package is used for cors for fastify-based nestjs apps
  • Loading branch information
xegulon authored Oct 5, 2023
1 parent dbf366a commit 05b575f
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) depending on the underlying platform. This package provides various options that you can customize based on your requirements.

#### Getting started

Expand Down

0 comments on commit 05b575f

Please sign in to comment.