CORS net/http middleware for Go
go-chi/cors is a fork of github.com/rs/cors that provides a net/http compatible middleware for performing pref-light CORS checks on the server side. These headers are required for using the browser native Fetch API. This middleware is designed to be used as a top-level middleware on the chi router. Applying with within a r.Group() or using With() will not work without routes matching OPTIONS added. This package contains the source code needed for building packages that reference the following Go import paths: – github.com/go-chi/cors
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 1.2.0-11.fc41 | - |
Fedora 41 | 1.2.0-11.fc41 | - |
Fedora 40 | 1.2.0-9.fc40 | - |
You can contact the maintainers of this package via email at
golang-github-chi-cors dash maintainers at fedoraproject dot org
.