Removed commented code
This commit is contained in:
parent
39bf3b56bc
commit
4045de7c2c
2 changed files with 0 additions and 15 deletions
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue