1
0
Fork 0

add warning comment about dx.py old_server

This commit is contained in:
zaphkito 2024-05-01 08:09:44 +00:00
parent 4964a57b66
commit 346b26c4b8
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@ class Mai2DX(Mai2Base):
self.version = Mai2Constants.VER_MAIMAI_DX
# DX earlier version need a efficient old server uri to work
# game will auto add MaimaiServlet endpoint behind return uri
# so do not add "MaimaiServlet"
if not self.core_config.server.is_using_proxy and Utils.get_title_port(self.core_config) != 80:
self.old_server = f"http://{self.core_config.server.hostname}:{Utils.get_title_port(cfg)}/SDEY/197/"