diff --git a/app/helpers/github.js b/app/helpers/github.js index 29d6155..a75efe8 100644 --- a/app/helpers/github.js +++ b/app/helpers/github.js @@ -16,16 +16,6 @@ import relativeDate from "~module/relative-date"; let octokit; -// String.prototype.escape = function() { -// const tagsToReplace = { -// "&": "&", -// "<": "<", -// ">": ">" -// }; - -// return this.replace(/[&<>]/g, tag => tagsToReplace[tag] || tag); -// }; - // R E D I S let client; diff --git a/app/index.js b/app/index.js index a788ffc..ff68d0f 100755 --- a/app/index.js +++ b/app/index.js @@ -26,11 +26,6 @@ const server = fastify({ redact: ["req.headers.authorization"], serializers: { req(req) { - // TODO: Figure out how to trigger this to test - // It is annoying to see in development - if (req.err && req.err.message.includes("Premature close")) - return {}; - return { headers: req.headers, hostname: req.hostname,