Allow automatic instance redirect to be turned off

Instead the "switch invidious instance" link would bring users to
redirect.invidious.io
This commit is contained in:
syeopite
2021-05-15 20:08:33 -07:00
parent cf72b34866
commit b63bebb519
41 changed files with 97 additions and 6 deletions

View File

@@ -176,6 +176,13 @@
<% end %>
</div>
<legend><%= translate(locale, "Miscellaneous preferences") %></legend>
<div class="pure-control-group">
<label for="automatic_instance_redirect"><%= translate(locale, "Automatically redirect to another Instance: ") %></label>
<input name="automatic_instance_redirect" id="automatic_instance_redirect" type="checkbox" <% if preferences.automatic_instance_redirect %>checked<% end %>>
</div>
<% if env.get? "user" %>
<legend><%= translate(locale, "Subscription preferences") %></legend>