cors icon indicating copy to clipboard operation
cors copied to clipboard

Consider archiving this repository, and pointing folks to github.com/rs/cors instead.

Open dzrw opened this issue 5 years ago • 3 comments

This package appears as the top search result on Google for gin gonic cors, but has a number of trouble spots that make it hard to use correctly the first time. I'm sure there's a good reason for the design, but the README doesn't make its gotchas obvious.

  • The Origin header issue
  • The explicit OPTIONS handler issue
  • The "does not work at the group level" issue

Instead, consider pointing users to https://github.com/rs/cors and its gin-gonic example.

dzrw avatar Sep 05 '18 18:09 dzrw

I spent two hours trying to get his package to work. Went over to rs/cors and got it working in 1 minute.

codingdiaz avatar Jan 05 '19 18:01 codingdiaz

@politician thank you for the https://github.com/rs/cors alternative!

gabstv avatar Apr 11 '19 19:04 gabstv

I spent two hours trying to get his package to work. Went over to rs/cors and got it working in 1 minute.

Same.

clarkmcc avatar Nov 16 '23 22:11 clarkmcc