Skip to content

Commit

Permalink
Merge pull request #524 from OdyseeTeam/fix-origin
Browse files Browse the repository at this point in the history
Set origin inside proxy
  • Loading branch information
anbsky authored Nov 7, 2024
2 parents b4762ce + de0c24b commit cc94100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func Handle(w http.ResponseWriter, r *http.Request) {

c.Cache = qCache

rpcRes, err := c.Call(r.Context(), rpcReq)
rpcRes, err := c.Call(query.AttachOrigin(r.Context(), origin), rpcReq)

if err != nil {
writeResponse(w, rpcerrors.ToJSON(err))
Expand Down

0 comments on commit cc94100

Please sign in to comment.