-
Notifications
You must be signed in to change notification settings - Fork 187
Open
Description
corsConfig = cors.DefaultConfig()
corsConfig.AllowOrigins = []string{"http://localhost:3000"}
corsConfig.AllowCredentials = true
corsConfig.AddAllowHeaders("Authorization") // Add any additional headers you need to allow
corsConfig.AddAllowHeaders("UserID")
corsConfig.AddAllowHeaders("UserType")We are adding one one Headers manually like UserID and UserType. Can we don something that all the headers are allowed by default.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels