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