Update checked-in dependencies
This commit is contained in:
parent
c9f0d30a86
commit
95d52b7807
647 changed files with 498055 additions and 3880 deletions
16
node_modules/@octokit/webhooks/dist-src/middleware/web/on-unhandled-request-default.js
generated
vendored
Normal file
16
node_modules/@octokit/webhooks/dist-src/middleware/web/on-unhandled-request-default.js
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
function onUnhandledRequestDefault(request) {
|
||||
return new Response(
|
||||
JSON.stringify({
|
||||
error: `Unknown route: ${request.method} ${request.url}`
|
||||
}),
|
||||
{
|
||||
status: 404,
|
||||
headers: {
|
||||
"content-type": "application/json"
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
export {
|
||||
onUnhandledRequestDefault
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue