File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ my %externalHandlers;
9494
9595use constant ONE_YEAR => 86400 * 365;
9696use constant ACCEPT_IMAGE_FORMATS => ' image/jpeg,image/png;q=0.9' . (Image::Scale-> gif_version() ? ' ,image/gif;q=0.1' : ' ' );
97- use constant REDIRECT_IMAGE_TO_JPEG => ' https://api.lms-community.org/img2compatible /' ;
97+ use constant REDIRECT_IMAGE_TO_COMPATIBLE => ' https://api.lms-community.org/img/compatible /' ;
9898
9999my $log = logger(' artwork.imageproxy' );
100100my $prefs = preferences(' server' );
@@ -525,7 +525,7 @@ sub getRightSize {
525525}
526526
527527sub urlToCloudResizer {
528- return REDIRECT_IMAGE_TO_JPEG . uri_escape_utf8($_ [0]);
528+ return REDIRECT_IMAGE_TO_COMPATIBLE . uri_escape_utf8($_ [0]);
529529}
530530
5315311;
You can’t perform that action at this time.
0 commit comments