diff --git a/backend/main.go b/backend/main.go index c78db19..38367b8 100644 --- a/backend/main.go +++ b/backend/main.go @@ -115,6 +115,7 @@ func handleRequest(w http.ResponseWriter, r *http.Request) { defer downloader.Close() w.Header().Add("Content-Type", ContentTypeAudioM4A) + w.Header().Add("Access-Control-Allow-Origin", "*") w.WriteHeader(http.StatusOK) n, err := io.Copy(w, downloader)