mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2024-09-30 15:37:40 +02:00
Update src/main/java/fr/moribus/imageonmap/image/ImageRendererExecutor.java
Co-authored-by: Amaury Carrade <amaury@carrade.eu>
This commit is contained in:
parent
7836aa8e95
commit
40479e2a37
@ -92,7 +92,7 @@ public class ImageRendererExecutor extends Worker
|
|||||||
|
|
||||||
BufferedImage image=null;
|
BufferedImage image=null;
|
||||||
//If the link is an imgur one
|
//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>
|
//Not handled, can't with the hash only access the image in i.imgur.com/<hash>.<extension>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user