Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -40,8 +40,8 @@ deploying_flag = False # 전역 플래그
|
|
40 |
def get_deployment_update(code_md: str):
|
41 |
clean = remove_code_block(code_md)
|
42 |
result = deploy_to_vercel(clean)
|
43 |
-
m = re.search(r"https?://[\\w.-]+\\.vercel\\.app", result)
|
44 |
|
|
|
45 |
if m: # ── 성공 ──
|
46 |
url = m.group(0)
|
47 |
md = (
|
@@ -566,8 +566,8 @@ def deploy_and_show(code_md: str):
|
|
566 |
result = deploy_to_vercel(clean)
|
567 |
|
568 |
# ③ 결과 해석 ---------------------------------------
|
569 |
-
url_match = re.search(r"https?://[\\w.-]+\\.vercel\\.app", result)
|
570 |
|
|
|
571 |
if url_match:
|
572 |
url = url_match.group(0)
|
573 |
|
|
|
40 |
def get_deployment_update(code_md: str):
|
41 |
clean = remove_code_block(code_md)
|
42 |
result = deploy_to_vercel(clean)
|
|
|
43 |
|
44 |
+
m = re.search(r"https?://[\w\.-]+\.vercel\.app", result)
|
45 |
if m: # ── 성공 ──
|
46 |
url = m.group(0)
|
47 |
md = (
|
|
|
566 |
result = deploy_to_vercel(clean)
|
567 |
|
568 |
# ③ 결과 해석 ---------------------------------------
|
|
|
569 |
|
570 |
+
url_match = re.search(r"https?://[\w\.-]+\.vercel\.app", result)
|
571 |
if url_match:
|
572 |
url = url_match.group(0)
|
573 |
|