diff --git a/main.go b/main.go index 06c2f31..a4517df 100644 --- a/main.go +++ b/main.go @@ -113,6 +113,7 @@ func handleTTS(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "audio/ogg") w.Header().Set("Cache-Control", "public, max-age=86400, immutable") + w.Header().Set("Access-Control-Allow-Origin", "*") w.Write(resp.AudioContent) }