[BUG] Documentation for using the CORS middleware suggests installing JWT middleware
Open
🐞 type:bug
- Dominant language
- Go
- Stars
- 25.6k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
This is a documentation bug - would be happy to open a PR for that, but I can't find the repository where documentation is edited.
On this page:
https://docs.iris-go.com/iris/security/cors#using-the-cors-middleware
Under "Using the CORS middleware", it says:
```
1. Install the middleware:
$ go get github.com/iris-contrib/middleware/jwt@master
```
This should, instead, be
```
go get github.com/iris-contrib/middleware/cors
```
Contributor guide
Assessment
This issue has not been assessed yet.