luojunhui 1 viikko sitten
vanhempi
commit
07cfcbfcee
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/domains/llm_tasks/decode_cards/_utils.py

+ 1 - 1
app/domains/llm_tasks/decode_cards/_utils.py

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