Skip to content

Commit

Permalink
allow second param in declarative fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwhit committed Aug 6, 2024
1 parent 8d5c715 commit d1a14be
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ext/http/00_serve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -864,9 +864,7 @@ function registerDeclarativeServer(exports) {
);
}
},
handler: (req) => {
return exports.fetch(req);
},
handler: exports.fetch,
});
};
}
Expand Down

0 comments on commit d1a14be

Please # to comment.