Update src/main/java/fr/moribus/imageonmap/image/ImageRendererExecutor.java

Co-authored-by: Amaury Carrade <amaury@carrade.eu>
This commit is contained in:
Vlammar 2020-08-17 23:33:30 +02:00 committed by GitHub
parent 7836aa8e95
commit 40479e2a37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,7 @@ public class ImageRendererExecutor extends Worker
BufferedImage image=null;
//If the link is an imgur one
if (url.toString().startsWith("https://imgur.com/")) {
if (url.toString().toLowerCase().startsWith("https://imgur.com/")) {
//Not handled, can't with the hash only access the image in i.imgur.com/<hash>.<extension>