fix BitlyURLShortener

This commit is contained in:
Kermina Awad 2020-06-05 21:22:14 -04:00
parent f570c81366
commit eb91eefc80
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ public class BitlyURLShortener extends HttpAPIClient implements URLShortener {
public String shorten(String longUrl) {
try {
String result = this.exec(longUrl);
if (!result.startsWith("http://j.mp/")) // ... then it's failed :/
if (!result.startsWith("https://j.mp/")) // ... then it's failed :/
throw new IOException(result);
return result;
} catch (IOException e) {