Skip to content

Commit

Permalink
Update readme to mention fastify 4.x (#209)
Browse files Browse the repository at this point in the history
I'm trying to use this package with fastify 4.0.2, and it seems like the latest 8.x version supports it.  But, I haven't had any luck yet and maybe the rest of the docs are out of date.  But at least I think this change is accurate.
  • Loading branch information
IanVS authored Jun 16, 2022
1 parent 0ce027f commit 543caec
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@

`@fastify/cors` enables the use of [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) in a Fastify application.

Supports Fastify versions `3.x`.
Please refer to [this branch](https://github.com/fastify/fastify-cors/tree/3.x) and related versions for Fastify `^2.x` compatibility.
Please refer to [this tag](https://github.com/fastify/fastify-cors/tree/v1.0.0) and related versions for Fastify `^1.x` compatibility.
Supports Fastify versions `4.x`.

- Please refer to [7.x](https://github.com/fastify/fastify-cors/tree/v7.0.0) for Fastify `^3.x` compatibility.
- Please refer to [3.x](https://github.com/fastify/fastify-cors/tree/3.x) for Fastify `^2.x` compatibility.
- Please refer to [1.x](https://github.com/fastify/fastify-cors/tree/v1.0.0) for Fastify `^1.x` compatibility.

## Install
```
Expand Down

0 comments on commit 543caec

Please sign in to comment.