mirror of
https://git.nerdvpn.de/NerdVPN.de/invidious
synced 2026-02-14 22:51:42 +01:00
4-2444
This commit is contained in:
+25
-2
@@ -1,7 +1,7 @@
|
||||
From 97dc90ae792c3ad876dd5d60c79fb33c23706096 Mon Sep 17 00:00:00 2001
|
||||
From: syeopite <syeopite@syeopite.dev>
|
||||
Date: Sat, 2 Oct 2021 11:51:15 -0700
|
||||
Subject: [PATCH 1/2] Only use /redirect when automatically redirecting
|
||||
Subject: [PATCH 1/3] Only use /redirect when automatically redirecting
|
||||
|
||||
---
|
||||
src/invidious/routes/misc.cr | 2 +-
|
||||
@@ -214,7 +214,7 @@ index 68e7eb801..845b01177 100644
|
||||
From 67cd9c0dd96b35d89cd73a6b93c510cc341ccbb5 Mon Sep 17 00:00:00 2001
|
||||
From: syeopite <syeopite@syeopite.dev>
|
||||
Date: Sat, 2 Oct 2021 12:25:22 -0700
|
||||
Subject: [PATCH 2/2] Remove unneeded redirect.invidious.io code in /redirect
|
||||
Subject: [PATCH 2/3] Remove unneeded redirect.invidious.io code in /redirect
|
||||
|
||||
---
|
||||
src/invidious/routes/misc.cr | 5 -----
|
||||
@@ -236,3 +236,26 @@ index 94d542836..3ea4c2727 100644
|
||||
instance_url = fetch_random_instance
|
||||
env.redirect "https://#{instance_url}#{referer}"
|
||||
end
|
||||
|
||||
From 2c4a30de554f6405937ef8fee993aa79140f293c Mon Sep 17 00:00:00 2001
|
||||
From: syeopite <syeopite@syeopite.dev>
|
||||
Date: Fri, 15 Oct 2021 07:45:36 -0700
|
||||
Subject: [PATCH 3/3] Rebase error
|
||||
|
||||
---
|
||||
src/invidious/views/components/video-context-buttons.ecr | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/invidious/views/components/video-context-buttons.ecr b/src/invidious/views/components/video-context-buttons.ecr
|
||||
index 062c3de00..daa107f0e 100644
|
||||
--- a/src/invidious/views/components/video-context-buttons.ecr
|
||||
+++ b/src/invidious/views/components/video-context-buttons.ecr
|
||||
@@ -8,7 +8,7 @@
|
||||
</a>
|
||||
|
||||
<% if env.get("preferences").as(Preferences).automatic_instance_redirect%>
|
||||
- <a title="<%=translate(locale, "Switch Invidious Instance")%>" href="/redirect?referer=%2Fwatch<%=endpoint_params%>">
|
||||
+ <a title="<%=translate(locale, "Switch Invidious Instance")%>" href="/redirect?referer=%2Fwatch<%=URI.encode_www_form(endpoint_params)%>">
|
||||
<i class="icon ion-md-jet"></i>
|
||||
</a>
|
||||
<% else %>
|
||||
|
||||
Reference in New Issue
Block a user