1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 06:18:21 +08:00

Opt: Remove port; Add server prefix

This commit is contained in:
Horizon101011
2022-08-01 10:41:20 +08:00
parent 80488c9c71
commit 79ca99eccb
7 changed files with 174 additions and 172 deletions

View File

@@ -11,7 +11,7 @@ from module.logger import logger
class ServerChecker:
def __init__(self, server: str) -> None:
self._base: str = 'http://sc.shiratama.cn:20002'
self._base: str = 'http://sc.shiratama.cn'
self._api: dict = {
'get_state': '/server/get_state', # post
'get_all_state': '/server/get_all_state', # post