Change the default invidio.us (EoL) to snopyta's.
This commit is contained in:
parent
e177759722
commit
75fea828cb
|
@ -3,7 +3,7 @@
|
|||
[![Build Status](https://travis-ci.org/zedeus/nitter.svg?branch=master)](https://travis-ci.org/zedeus/nitter)
|
||||
|
||||
A free and open source alternative Twitter front-end focused on privacy. \
|
||||
Inspired by the [invidio.us](https://github.com/omarroth/invidious) project.
|
||||
Inspired by the [Invidious](https://github.com/iv-org/invidious) project.
|
||||
|
||||
- No JavaScript or ads
|
||||
- All requests go through the backend, client never talks to Twitter
|
||||
|
|
|
@ -32,7 +32,7 @@ tokenCount = 10
|
|||
[Preferences]
|
||||
theme = "Nitter"
|
||||
replaceTwitter = "nitter.net"
|
||||
replaceYouTube = "invidio.us"
|
||||
replaceYouTube = "invidious.snopyta.org"
|
||||
replaceInstagram = ""
|
||||
proxyVideos = true
|
||||
hlsPlayback = false
|
||||
|
|
|
@ -54,7 +54,7 @@ genPrefs:
|
|||
"Replace Twitter links with Nitter (blank to disable)"
|
||||
placeholder: "Nitter hostname"
|
||||
|
||||
replaceYouTube(input, "invidio.us"):
|
||||
replaceYouTube(input, "invidious.snopyta.org"):
|
||||
"Replace YouTube links with Invidious (blank to disable)"
|
||||
placeholder: "Invidious hostname"
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
#end proc
|
||||
#
|
||||
#proc renderTimelineRss*(timeline: Timeline; profile: Profile; hostname: string; multi=false): string =
|
||||
#let prefs = Prefs(replaceTwitter: hostname, replaceYouTube: "invidio.us")
|
||||
#let prefs = Prefs(replaceTwitter: hostname, replaceYouTube: "invidious.snopyta.org")
|
||||
#result = ""
|
||||
#let user = (if multi: "" else: "@") & profile.username
|
||||
#var title = profile.fullname
|
||||
|
@ -94,7 +94,7 @@
|
|||
#end proc
|
||||
#
|
||||
#proc renderListRss*(tweets: seq[Tweet]; list: List; hostname: string): string =
|
||||
#let prefs = Prefs(replaceTwitter: hostname, replaceYouTube: "invidio.us")
|
||||
#let prefs = Prefs(replaceTwitter: hostname, replaceYouTube: "invidious.snopyta.org")
|
||||
#let link = &"https://{hostname}/{list.username}/lists/{list.name}"
|
||||
#result = ""
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
@ -112,7 +112,7 @@
|
|||
#end proc
|
||||
#
|
||||
#proc renderSearchRss*(tweets: seq[Tweet]; name, param, hostname: string): string =
|
||||
#let prefs = Prefs(replaceTwitter: hostname, replaceYouTube: "invidio.us")
|
||||
#let prefs = Prefs(replaceTwitter: hostname, replaceYouTube: "invidious.snopyta.org")
|
||||
#let link = &"https://{hostname}/search"
|
||||
#let escName = xmltree.escape(name)
|
||||
#result = ""
|
||||
|
|
Loading…
Reference in New Issue