refactor(plugin): rename local repo paths setting

This commit is contained in:
InfinityPacer
2026-04-19 07:07:00 +08:00
committed by jxxghp
parent 6d8eed30ce
commit 83187ea17d
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -418,7 +418,7 @@ class ConfigModel(BaseModel):
# 是否开启插件热加载
PLUGIN_AUTO_RELOAD: bool = False
# 本地插件仓库目录,多个地址使用,分隔
PLUGIN_LOCAL_PATHS: Optional[str] = None
PLUGIN_LOCAL_REPO_PATHS: Optional[str] = None
# ==================== Github & PIP ====================
# Github token,提高请求api限流阈值 ghp_****
+1 -1
View File
@@ -39,7 +39,7 @@ from app.utils.system import SystemUtils
class PluginManager(ConfigReloadMixin, metaclass=Singleton):
"""插件管理器"""
CONFIG_WATCH = {"DEV", "PLUGIN_AUTO_RELOAD", "PLUGIN_LOCAL_PATHS"}
CONFIG_WATCH = {"DEV", "PLUGIN_AUTO_RELOAD", "PLUGIN_LOCAL_REPO_PATHS"}
def __init__(self):
# 插件列表