Skip to content

Commit

Permalink
Merge pull request #280 from AmiyaBot/V6-dev
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
vivien8261 authored Aug 1, 2024
2 parents 83194a4 + cd90a32 commit eb9a656
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/publish.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v6.5.1
v6.5.2
2 changes: 1 addition & 1 deletion core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down
4 changes: 2 additions & 2 deletions core/config/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pluginsDev

0 comments on commit eb9a656

Please sign in to comment.