diff --git a/main.go b/main.go index 48c0325..9759334 100644 --- a/main.go +++ b/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)