Skip to content

Commit

Permalink
Preserve client request method when using proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
rafecolton committed Sep 26, 2024
1 parent 2e21203 commit 594219c
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 594219c

Please sign in to comment.