We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76c66e7 commit e3bbc8eCopy full SHA for e3bbc8e
main.go
@@ -62,6 +62,7 @@ func main() {
62
63
// TODO: CORS setting
64
config := cors.DefaultConfig()
65
+ config.AllowedHeaders = []string{"*"}
66
// if you want to allow all origins, comment the following two lines
67
config.AllowAllOrigins = false
68
config.AllowedOrigins = []string{"https://gin-template.vercel.app"}
0 commit comments