gothinkster / golang-gin-realworld-example-app

Exemplary real world application built with Golang + Gin
https://realworld.io
MIT License
2.52k stars 497 forks source link

Can not find config for CORS? #6

Closed SUP3RIA closed 3 years ago

SUP3RIA commented 6 years ago

Where is the config for CORS located?

wangzitian0 commented 6 years ago

You can use this addon which was recommend by gin author https://github.com/gin-contrib/cors