Golang Access Control Allow Origin: '*'

[Solved] Golang Access Control Allow Origin: '*' | Go - Code Explorer | yomemimo.com
Question : golang Access-Control-Allow-Origin: '*'

Answered by : defeated-donkey-0sbqiwldv8o4

func enableCors(w *http.ResponseWriter) {	(*w).Header().Set("Access-Control-Allow-Origin", "*")
}

Source : | Last Update : Sun, 12 Apr 20

Answers related to golang Access Control Allow Origin: '*'

Code Explorer Popular Question For Go