Skip to content

Commit 5bf8917

Browse files
ascorbicclaude
andcommitted
fix(pds): forward request method/body in AppView proxy
Pass c.req to proxy() to preserve HTTP method, headers, and body. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 736ece4 commit 5bf8917

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/pds/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ app.all("/xrpc/*", (c) => {
181181
const url = new URL(c.req.url);
182182
url.host = "api.bsky.app";
183183
url.protocol = "https:";
184-
return proxy(url);
184+
return proxy(url, c.req);
185185
});
186186

187187
export default app;

0 commit comments

Comments
 (0)