mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-12 08:46:02 +00:00
chore: Hello LangBot !
This commit is contained in:
@@ -48,7 +48,7 @@ class AnnouncementManager:
|
||||
) -> list[Announcement]:
|
||||
"""获取所有公告"""
|
||||
resp = requests.get(
|
||||
url="https://api.github.com/repos/RockChinQ/QChatGPT/contents/res/announcement.json",
|
||||
url="https://api.github.com/repos/RockChinQ/LangBot/contents/res/announcement.json",
|
||||
proxies=self.ap.proxy_mgr.get_forward_proxies(),
|
||||
timeout=5
|
||||
)
|
||||
|
||||
@@ -38,7 +38,7 @@ class VersionManager:
|
||||
async def get_release_list(self) -> list:
|
||||
"""获取发行列表"""
|
||||
rls_list_resp = requests.get(
|
||||
url="https://api.github.com/repos/RockChinQ/QChatGPT/releases",
|
||||
url="https://api.github.com/repos/RockChinQ/LangBot/releases",
|
||||
proxies=self.ap.proxy_mgr.get_forward_proxies(),
|
||||
timeout=5
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user