fix: remove reddit redirects
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
69703d3e57
commit
2140635bac
1 changed files with 0 additions and 3 deletions
|
@ -20,9 +20,6 @@ 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": "www.troddit.com",
|
|
||||||
"old.reddit.com": "www.troddit.com",
|
|
||||||
"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