mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-08 21:30:01 +08:00
✨ webui与resources支持git更新
This commit is contained in:
@@ -230,7 +230,7 @@ class BaseRepoManager(ABC):
|
||||
"""
|
||||
from .models import RepoType
|
||||
|
||||
repo_name = repo_url.split("/")[-1].replace(".git", "")
|
||||
repo_name = repo_url.split("/tree/")[0].split("/")[-1].replace(".git", "")
|
||||
|
||||
try:
|
||||
# 创建结果对象
|
||||
|
||||
Reference in New Issue
Block a user