diff --git a/.env.example b/.env.example index 3cf7009..121a0e1 100644 --- a/.env.example +++ b/.env.example @@ -53,7 +53,7 @@ PS_FOOTER_SIZE=22 # 硬盘列表、网卡列表文本最长长度 # 过长会被截断,长度包含 "..." 的长度 -PS_MAX_TEXT_LEN=13 +PS_MAX_TEXT_LEN=18 # 网卡列表下的测试访问的网址列表(可空) # name: 显示名称 diff --git a/nonebot_plugin_picstatus/config.py b/nonebot_plugin_picstatus/config.py index 284aa1f..5dc4463 100644 --- a/nonebot_plugin_picstatus/config.py +++ b/nonebot_plugin_picstatus/config.py @@ -36,7 +36,7 @@ class Cfg(BaseModel): TestSiteCfg(name="Google", url="https://google.com", use_proxy=True), ] ps_test_timeout: int = 5 - ps_max_text_len: int = 13 + ps_max_text_len: int = 18 config: Cfg = Cfg.parse_obj(get_driver().config.dict())