Bläddra i källkod

Change the default invidio.us (EoL) to snopyta's.

jtagcat 6 år sedan
förälder
incheckning
75fea828cb
4 ändrade filer med 6 tillägg och 6 borttagningar
  1. 1 1
      README.md
  2. 1 1
      nitter.conf
  3. 1 1
      src/prefs_impl.nim
  4. 3 3
      src/views/rss.nimf

+ 1 - 1
README.md

@@ -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

+ 1 - 1
nitter.conf

@@ -32,7 +32,7 @@ tokenCount = 10
 [Preferences]
 theme = "Nitter"
 replaceTwitter = "nitter.net"
-replaceYouTube = "invidio.us"
+replaceYouTube = "invidious.snopyta.org"
 replaceInstagram = ""
 proxyVideos = true
 hlsPlayback = false

+ 1 - 1
src/prefs_impl.nim

@@ -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"
 

+ 3 - 3
src/views/rss.nimf

@@ -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 = ""