You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
func(ctx context.Context){
/* ctx.ResponseWriter() // gives you the http.ResponseWriter ctx.Request() // gives you the *http.Request to set a header you use the response writer or the ctx.Header("key", "value") to get a request header you use the request or the ctx.GetHeader("key") */ctx.Header("Access-Control-Allow-Origin", "*")
}
How can i configure the hearders?
The text was updated successfully, but these errors were encountered: