From 05b575f3d9b052a106a3b8cf629b0b446d62873d Mon Sep 17 00:00:00 2001 From: Xegulon <74178038+xegulon@users.noreply.github.com> Date: Thu, 5 Oct 2023 08:42:10 +0200 Subject: [PATCH 1/3] Update cors.md - add precision about fastify precise which package is used for cors for fastify-based nestjs apps --- content/security/cors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/security/cors.md b/content/security/cors.md index b42b567023..b044941585 100644 --- a/content/security/cors.md +++ b/content/security/cors.md @@ -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 From 990a101032772efc20ce055262571c5e38025c9d Mon Sep 17 00:00:00 2001 From: Xegulon <74178038+xegulon@users.noreply.github.com> Date: Thu, 5 Oct 2023 08:43:00 +0200 Subject: [PATCH 2/3] Update cors.md add the word 'packages' --- content/security/cors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/security/cors.md b/content/security/cors.md index b044941585..c2a51406ff 100644 --- a/content/security/cors.md +++ b/content/security/cors.md @@ -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) 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. +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. This package provides various options that you can customize based on your requirements. #### Getting started From 248cebb41425cc61c3c092123d962df2ebf3ba1d Mon Sep 17 00:00:00 2001 From: Kamil Mysliwiec Date: Thu, 5 Oct 2023 08:49:09 +0200 Subject: [PATCH 3/3] Update content/security/cors.md --- content/security/cors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/security/cors.md b/content/security/cors.md index c2a51406ff..95b50eecc4 100644 --- a/content/security/cors.md +++ b/content/security/cors.md @@ -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) or Fastify [@fastify/cors](https://github.com/fastify/fastify-cors) packages depending on the underlying platform. 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