Skip to content

Commit

Permalink
#fix: bun support POST query_range
Browse files Browse the repository at this point in the history
  • Loading branch information
akvlad committed Nov 7, 2023
1 parent 67b08b1 commit ca994f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/bun_wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ const wrapper = (handler, parsers) => {
raw: stream,
log: log,
params: ctx.params || {},
query: {}
query: {},
method: ctx.method
}
for (const [key, value] of (new URL(ctx.url)).searchParams) {
if (!(key in req.query)) {
Expand Down

0 comments on commit ca994f6

Please sign in to comment.