diff --git a/handler.go b/handler.go index b231289..9512d2e 100644 --- a/handler.go +++ b/handler.go @@ -145,7 +145,7 @@ func (handler *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { if r.Method == "OPTIONS" { // Preflight request - header.Set("Access-Control-Allow-Methods", "POST, HEAD, PATCH, OPTIONS") + header.Set("Access-Control-Allow-Methods", "POST, GET, HEAD, PATCH, DELETE") header.Set("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Upload-Length, Upload-Offset, Tus-Resumable, Upload-Metadata") header.Set("Access-Control-Max-Age", "86400")