Answers for "golang Access-Control-Allow-Origin: '*'"

Go
2

golang Access-Control-Allow-Origin: '*'

func enableCors(w *http.ResponseWriter) {
	(*w).Header().Set("Access-Control-Allow-Origin", "*")
}
Posted by: Guest on April-05-2020

Code answers related to "golang Access-Control-Allow-Origin: '*'"

Browse Popular Code Answers by Language