From cd90a325d27fea0203ea38838fa06c6a16aa5741 Mon Sep 17 00:00:00 2001 From: Vivien <34387011+vivien8261@users.noreply.github.com> Date: Thu, 1 Aug 2024 18:30:16 +0800 Subject: [PATCH] fix --- .github/publish.txt | 2 +- core/__init__.py | 2 +- core/config/remote.py | 4 ++-- pluginsDev | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/publish.txt b/.github/publish.txt index b558f3bb..42a5528a 100644 --- a/.github/publish.txt +++ b/.github/publish.txt @@ -1 +1 @@ -v6.5.1 +v6.5.2 diff --git a/core/__init__.py b/core/__init__.py index 3c0d1366..026bda32 100644 --- a/core/__init__.py +++ b/core/__init__.py @@ -71,7 +71,7 @@ async def send_to_console_channel(chain: Chain): async def heartbeat(): for item in bot: await http_requests.get( - f'https://server.amiyabot.com:8020/heartbeat?appid={item.appid}', + f'{config.remote_config.remote.plugin}/heartbeat?appid={item.appid}', ignore_error=True, ) diff --git a/core/config/remote.py b/core/config/remote.py index 5e836e81..f320c053 100644 --- a/core/config/remote.py +++ b/core/config/remote.py @@ -5,9 +5,9 @@ @dataclass class Remote: cos: str = 'https://cos.amiyabot.com' - plugin: str = 'https://server.amiyabot.com:8020' + plugin: str = 'https://server.amiyabot.com:10001' console: str = 'http://106.52.139.57:8000' - resource: str = 'https://server.amiyabot.com:8000' + resource: str = '' @dataclass diff --git a/pluginsDev b/pluginsDev index 10ae404a..e9886e36 160000 --- a/pluginsDev +++ b/pluginsDev @@ -1 +1 @@ -Subproject commit 10ae404a88e70151d16660b4e4bb13882b0cf01f +Subproject commit e9886e36ba10a84de15bd8632c81161fa228f4a7