fix(cafe24): 품목 이미지 주소에 도메인이 두 번 붙어 오는 경우 복구

카페24 GET variants 의 image 가 "https://miras.co.krhttps://cafe24img.poxo.com/
miraskitchen/web/product/extra/big/…" 처럼 쇼핑몰 도메인 뒤에 CDN 전체 주소를
또 붙여 돌려준다(추가이미지를 품목 이미지로 쓴 경우). 그대로 src 에 넣어 깨져
옵션 썸네일이 "없음"으로 보였다. 문자열 안에 http(s):// 가 또 있으면 마지막
주소부터 쓴다.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-28 00:44:20 +09:00
parent 89f055f24b
commit 3882dd7ad3
3 changed files with 9 additions and 1 deletions
@@ -125,7 +125,7 @@
{% endblock %}
{% block scripts %}
<script src="/static/cafe24-options.js?v=20260928b"></script>
<script src="/static/cafe24-options.js?v=20260928c"></script>
<script>
(function () {
var pane = document.getElementById("cf24-editor-pane");