diff --git a/main.go b/main.go index 1c1b31d..0615713 100644 --- a/main.go +++ b/main.go @@ -86,5 +86,8 @@ func handleScriptCall(w http.ResponseWriter, r *http.Request) { return } + w.Header().Set("Access-Control-Allow-Origin", "*") + w.Header().Set("Access-Control-Allow-Method", "*") + io.Copy(w, stdout) }