|
@@ -68,7 +68,7 @@ class CardDecodeUtils(DecodeCardConst):
|
|
|
@staticmethod
|
|
@staticmethod
|
|
|
def _normalize_cover_url(url: str) -> str:
|
|
def _normalize_cover_url(url: str) -> str:
|
|
|
"""不以 https: 开头的封面 URL 拼接 CDN 前缀"""
|
|
"""不以 https: 开头的封面 URL 拼接 CDN 前缀"""
|
|
|
- if not url.startswith("https:"):
|
|
|
|
|
|
|
+ if not url.startswith("http:"):
|
|
|
return f"{CardDecodeUtils.COVER_CDN_PREFIX}{url}"
|
|
return f"{CardDecodeUtils.COVER_CDN_PREFIX}{url}"
|
|
|
return url
|
|
return url
|
|
|
|
|
|