diff --git a/serve.go b/serve.go index 3d2b380..5c8d030 100644 --- a/serve.go +++ b/serve.go @@ -64,6 +64,7 @@ func (h handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { w.Header().Add("Content-Type", stat.ContentType) w.Header().Add("ETag", stat.ETag) + w.Header().Add("Access-Control-Allow-Origin", "*") n, err := io.Copy(w, object) if err != nil {