parent
25938b6b3a
commit
8fa840cd8c
1
main.go
1
main.go
|
@ -68,6 +68,7 @@ func main() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
w.Header().Set("Access-Control-Allow-Origin", "*")
|
||||||
w.Header().Set("Content-Type", "application/json")
|
w.Header().Set("Content-Type", "application/json")
|
||||||
w.WriteHeader(http.StatusOK)
|
w.WriteHeader(http.StatusOK)
|
||||||
_, _ = w.Write(response)
|
_, _ = w.Write(response)
|
||||||
|
|
Loading…
Reference in a new issue