Skip to content

Commit

Permalink
feat: enable CORS on ccip read endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
kamikazechaser committed Dec 17, 2024
1 parent 1baf781 commit 74c5783
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/api/ccip.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ func (a *API) ccipHandler(w http.ResponseWriter, req bunrouter.Request) error {
}
a.logg.Debug("signed payload", "payload", payload)

w.Header().Set("Access-Control-Allow-Origin", "*")
return httputil.JSON(w, http.StatusOK, CCIPOKResponse{
Data: payload,
})
Expand Down

0 comments on commit 74c5783

Please sign in to comment.