1

joyproxy.pm: reactor has also img0 host

This commit is contained in:
eleksir
2020-04-12 14:31:15 +03:00
parent cb18990049
commit ad6de6d94e

View File

@@ -17,7 +17,7 @@ sub joyproxy ($) {
my $str = shift;
chomp($str);
return ('500', 'text/plain', 'This is not reactor video') if ($str !~ /^img1\.reactor\.cc/);
return ('500', 'text/plain', 'This is not reactor video') if ($str !~ /^img[0|1]\.reactor\.cc/);
my ($file, $filesize) = __dlfunc("http://$str");