Skip to content

Commit

Permalink
examples/io/listener/listen: #1298
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Soquet committed Jan 28, 2024
1 parent 59845b8 commit b96fdf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/io/listener/listen/listen.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ async function* listen(options) {
_connection_.accept({
onRequest(_request_) {
const { method, path, headers } = _request_;
const request = new Request(new URL(path, base), { method, path, headers, requestPromise });
const request = new Request(new URL(path, base), { method, path, headers, body:requestPromise });
const connection = {
close() {
_connection_.close();
Expand Down

0 comments on commit b96fdf2

Please sign in to comment.