aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authortrizen <trizen@protonmail.com>2020-11-01 01:27:16 +0200
committerJesús <heckyel@hyperbola.info>2020-11-09 17:38:03 -0500
commit3855c43f51e7639fa2e29c6f4d01fd2fcf56ed02 (patch)
treed8c4b7d2e47d9161d3d9c873bf681a4533d2b98a /bin
parent07c76bfe292cdd7fcb35ba28c011996ff6fc46e2 (diff)
downloadfair-viewer-3855c43f51e7639fa2e29c6f4d01fd2fcf56ed02.tar.lz
fair-viewer-3855c43f51e7639fa2e29c6f4d01fd2fcf56ed02.tar.xz
fair-viewer-3855c43f51e7639fa2e29c6f4d01fd2fcf56ed02.zip
Pick and set a random invidious instance when the current instance is down.
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gtk-fair-viewer2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gtk-fair-viewer b/bin/gtk-fair-viewer
index dd06cfa..36f029d 100755
--- a/bin/gtk-fair-viewer
+++ b/bin/gtk-fair-viewer
@@ -2490,7 +2490,7 @@ sub display_results {
my $current_instance = $yv_obj->get_api_host();
# Server error. Pick another invidious instance.
- # $yv_obj->pick_and_set_random_instance();
+ $yv_obj->pick_and_set_random_instance();
die "Probably $current_instance is down.\n"
. "\nTry changing the `api_host` in configuration file:\n\n"