Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaodino committed Nov 5, 2024
1 parent da37fa0 commit e5bc0f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/geth-rpc-gateway/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ func enableCORS(next http.Handler) http.Handler {
if r.Method == "OPTIONS" {
log.Printf("Preflight request for %s %s", r.Method, r.URL.Path)
w.WriteHeader(http.StatusOK)
return
}

next.ServeHTTP(w, r)
Expand Down

0 comments on commit e5bc0f6

Please sign in to comment.