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;
|
let octokit;
|
||||||
|
|
||||||
// String.prototype.escape = function() {
|
|
||||||
// const tagsToReplace = {
|
|
||||||
// "&": "&",
|
|
||||||
// "<": "<",
|
|
||||||
// ">": ">"
|
|
||||||
// };
|
|
||||||
|
|
||||||
// return this.replace(/[&<>]/g, tag => tagsToReplace[tag] || tag);
|
|
||||||
// };
|
|
||||||
|
|
||||||
// R E D I S
|
// R E D I S
|
||||||
|
|
||||||
let client;
|
let client;
|
||||||
|
|
|
@ -26,11 +26,6 @@ const server = fastify({
|
||||||
redact: ["req.headers.authorization"],
|
redact: ["req.headers.authorization"],
|
||||||
serializers: {
|
serializers: {
|
||||||
req(req) {
|
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 {
|
return {
|
||||||
headers: req.headers,
|
headers: req.headers,
|
||||||
hostname: req.hostname,
|
hostname: req.hostname,
|
||||||
|
|
Loading…
Reference in a new issue