남아공전 공유하기 한국이 왼쪽으로 오게끔 수정

develop
jwkim 2026-06-22 17:32:24 +09:00
parent 10b533af28
commit 16bd01fc95
2 changed files with 4 additions and 1 deletions

View File

@ -63,6 +63,9 @@ async def match_share(match_id: str) -> HTMLResponse:
is_custom = True
la, lb = _team_label(a), _team_label(b)
# 한국은 항상 왼쪽으로 표기(프론트 화면 규칙과 동일).
if b == "KOR" and a != "KOR":
la, lb = lb, la
if la and lb:
title = f"TriplePick 2026 — {la} vs {lb} AI 승부예측"
else:

View File

@ -164,7 +164,7 @@ export default function Arena({
if (navigator.share) {
try {
await navigator.share({
title: `${aShort} vs ${bShort} — TriplePick`,
title: `${leftShort} vs ${rightShort} — TriplePick`,
text: shareText,
url: shareUrl,
});