Upgrade octokit to v4.1.2
This commit is contained in:
parent
dbbcbe019d
commit
c1745a9831
1214 changed files with 160765 additions and 0 deletions
13
node_modules/@octokit/webhooks/dist-src/middleware/node/on-unhandled-request-default.js
generated
vendored
Normal file
13
node_modules/@octokit/webhooks/dist-src/middleware/node/on-unhandled-request-default.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
function onUnhandledRequestDefault(request, response) {
|
||||
response.writeHead(404, {
|
||||
"content-type": "application/json"
|
||||
});
|
||||
response.end(
|
||||
JSON.stringify({
|
||||
error: `Unknown route: ${request.method} ${request.url}`
|
||||
})
|
||||
);
|
||||
}
|
||||
export {
|
||||
onUnhandledRequestDefault
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue