lau1944/bunrest

There is no path matches HEAD

7heMech opened this issue · 2 comments

132 | const res = that.responseProxy();
133 | const tree: TrieTree<string, Handler> =
134 | that.requestMap[req.method.toLowerCase()];
135 |
136 | if (!tree) {
137 | throw new Error(There is no path matches ${req.method});
^
error: There is no path matches HEAD
at /home/runner/test/node_modules/bunrest/src/server/server.ts:137:16

Try this #23

@techntools this solves it, thank you.