- I use gin-contrib/cors pkg to handle cross-origin requests
- I used ReverseProxy to proxy downstream services in the project. The CORS response headers from the downstream service are duplicated with the headers from gin-contrib/cors, such as Access-Control-Allow-Origin. My downstream service is a Java project.