Skip to content

Commit

Permalink
chore: synchronize workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jan 10, 2025
1 parent 145d75c commit 6b5ba24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/cloudx/proxy/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ func runReverseProxy(ctx context.Context, h *client.CommandHelper, stdErr io.Wri
r.Out.Header.Set("Ory-Base-URL-Rewrite-Token", apiKey)
}

for _, header := range conf.additionalRequestHeaders {
r.Out.Header.Set(header, r.In.Header.Get(header))
for key, value := range conf.additionalRequestHeaders {
r.Out.Header.Set(key, value)
}

return body, nil
Expand Down

0 comments on commit 6b5ba24

Please sign in to comment.