Versionable APIs #283

Merged
NetOpWibby merged 5 commits from versionable-apis into master 2019-07-12 00:27:36 +02:00
2 changed files with 0 additions and 15 deletions
Showing only changes of commit 4045de7c2c - Show all commits

View file

@ -16,16 +16,6 @@ import relativeDate from "~module/relative-date";
let octokit;
// String.prototype.escape = function() {
// const tagsToReplace = {
// "&": "&",
// "<": "&lt;",
// ">": "&gt;"
// };
// return this.replace(/[&<>]/g, tag => tagsToReplace[tag] || tag);
// };
// R E D I S
let client;

View file

@ -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,