fix isHttp

This commit is contained in:
Looly
2020-11-10 10:36:13 +08:00
parent 8903f52e8e
commit e5574fa173
2 changed files with 2 additions and 1 deletions

View File

@@ -51,7 +51,7 @@ public class HttpUtil {
* @return 是否https
*/
public static boolean isHttps(String url) {
return url.toLowerCase().startsWith("https");
return url.toLowerCase().startsWith("https:");
}
/**