Skip to content

Commit

Permalink
Merge pull request #49805 from Expensify/fix-proxy-method
Browse files Browse the repository at this point in the history
Preserve client request method when using proxy
  • Loading branch information
neil-marcellini authored Sep 26, 2024
2 parents 18fac73 + 594219c commit ef65042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const server = http.createServer((request: IncomingMessage, response: ServerResp

const proxyRequest = https.request({
hostname,
method: 'POST',
method: request.method,
path: requestPath,
headers: {
...request.headers,
Expand Down

0 comments on commit ef65042

Please sign in to comment.