forked from MarseyWorld/MarseyWorld
switch to another nitter instance
parent
07be18cd1b
commit
adc77681df
|
@ -22,7 +22,7 @@ def normalize_urls_runtime(body, v):
|
|||
if v:
|
||||
body = body.replace("https://old.reddit.com/r/", f'https://{v.reddit}/r/').replace("https://old.reddit.com/u/", f'https://{v.reddit}/u/')
|
||||
|
||||
if v.nitter: body = twitter_to_nitter_regex.sub(r'https://nitter.net/\1', body)
|
||||
if v.nitter: body = twitter_to_nitter_regex.sub(r'https://nitter.42l.fr/\1', body)
|
||||
|
||||
return body
|
||||
|
||||
|
|
|
@ -202,7 +202,7 @@
|
|||
<label class="custom-control-label" for="nitter"></label>
|
||||
</div>
|
||||
|
||||
<span class="text-small text-muted">Enable if you would like to automatically convert twitter.com links to nitter.net links.</span>
|
||||
<span class="text-small text-muted">Enable if you would like to automatically convert twitter.com links to nitter.42l.fr links.</span>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue