3
2
forked from Dniel97/artemis

fix ongeki and sao

This commit is contained in:
Hay1tsme 2024-01-22 15:49:06 -05:00
parent 9a021d4005
commit 6ed80ecbab
2 changed files with 3 additions and 3 deletions

View File

@ -139,8 +139,8 @@ class OngekiServlet(BaseServlet):
t_port = f":{title_port_int}" if title_port_int != 80 else "" t_port = f":{title_port_int}" if title_port_int != 80 else ""
return ( return (
f"{proto}://{self.core_cfg.title.hostname}{t_port}/{game_code}/{game_ver}/", f"{proto}://{self.core_cfg.server.hostname}{t_port}/{game_code}/{game_ver}/",
f"{self.core_cfg.title.hostname}{t_port}/", f"{self.core_cfg.server.hostname}{t_port}/",
) )

View File

@ -87,7 +87,7 @@ class SaoServlet(BaseServlet):
proto = "https" proto = "https"
port = f":{port_ssl}" if port_ssl != 443 else "" port = f":{port_ssl}" if port_ssl != 443 else ""
return (f"{proto}://{self.core_cfg.title.hostname}{port}/", "") return (f"{proto}://{self.core_cfg.server.hostname}{port}/", "")
def get_mucha_info(self, core_cfg: CoreConfig, cfg_dir: str) -> Tuple[bool, str]: def get_mucha_info(self, core_cfg: CoreConfig, cfg_dir: str) -> Tuple[bool, str]: