From 1cbeb01cbc4ceb3432e95efa34c4be7cd0a1fd0f Mon Sep 17 00:00:00 2001
From: CronyAkatsuki <crony@cronyakatsuki.xyz>
Date: Wed, 7 Feb 2024 22:17:43 +0100
Subject: [PATCH] Add more redirects

---
 .config/qutebrowser/pyconfig/redirectors.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.config/qutebrowser/pyconfig/redirectors.py b/.config/qutebrowser/pyconfig/redirectors.py
index 649e75b..37f9ef9 100644
--- a/.config/qutebrowser/pyconfig/redirectors.py
+++ b/.config/qutebrowser/pyconfig/redirectors.py
@@ -20,6 +20,8 @@ REDIRECT_MAP = {
     "www.tiktok.com": operator.methodcaller("setHost", "proxytok.cronyakatsuki.xyz"),
     "imgur.com": operator.methodcaller("setHost", "rimgo.cronyakatsuki.xyz"),
     "www.imgur.com": operator.methodcaller("setHost", "rimgo.cronyakatsuki.xyz"),
+    "github.com": operator.methodcaller("setHost", "gh.cronyakatsuki.xyz"),
+    "gist.github.com": operator.methodcaller("setHost", "gh.cronyakatsuki.xyz/gist"),
 }