fix: use troddit instead of r.nf
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
ba3df43306
commit
6f2b94a4c2
1 changed files with 3 additions and 3 deletions
|
@ -20,9 +20,9 @@ c.hints.chars = "aoeuidhtns"
|
||||||
|
|
||||||
def redirect(request: interceptor.Request):
|
def redirect(request: interceptor.Request):
|
||||||
redirect_dict: Dict[str, str] = {
|
redirect_dict: Dict[str, str] = {
|
||||||
"www.reddit.com": "r.nf",
|
"www.reddit.com": "www.troddit.com",
|
||||||
"old.reddit.com": "r.nf",
|
"old.reddit.com": "www.troddit.com",
|
||||||
"reddit.com": "r.nf",
|
"reddit.com": "www.troddit.com",
|
||||||
}
|
}
|
||||||
|
|
||||||
if request.request_url.host() in redirect_dict.keys():
|
if request.request_url.host() in redirect_dict.keys():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue