From f7f0d8750f602fa08772184441019202bbbce258 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Tue, 8 Jan 2019 05:44:42 +0100
Subject: [PATCH] feat: togithub.com redirect

Change github redirect links from renovatebot.com/gh/ to togithub.com
---
 lib/platform/github/index.js | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/lib/platform/github/index.js b/lib/platform/github/index.js
index 6cdfaf0545..e0c99b26be 100644
--- a/lib/platform/github/index.js
+++ b/lib/platform/github/index.js
@@ -1477,11 +1477,8 @@ function getPrBody(input) {
   }
   const massagedInput = input
     // to be safe, replace all github.com links with renovatebot redirector
-    .replace(
-      /href="https?:\/\/github.com\//g,
-      'href="https://renovatebot.com/gh/'
-    )
-    .replace(/]\(https:\/\/github\.com\//g, '](https://renovatebot.com/gh/');
+    .replace(/href="https?:\/\/github.com\//g, 'href="https://togithub.com/')
+    .replace(/]\(https:\/\/github\.com\//g, '](https://togithub.com/');
   return smartTruncate(massagedInput);
 }
 
-- 
GitLab