forked from Dniel97/artemis
fix ongeki and sao
This commit is contained in:
parent
9a021d4005
commit
6ed80ecbab
@ -139,8 +139,8 @@ class OngekiServlet(BaseServlet):
|
||||
t_port = f":{title_port_int}" if title_port_int != 80 else ""
|
||||
|
||||
return (
|
||||
f"{proto}://{self.core_cfg.title.hostname}{t_port}/{game_code}/{game_ver}/",
|
||||
f"{self.core_cfg.title.hostname}{t_port}/",
|
||||
f"{proto}://{self.core_cfg.server.hostname}{t_port}/{game_code}/{game_ver}/",
|
||||
f"{self.core_cfg.server.hostname}{t_port}/",
|
||||
)
|
||||
|
||||
|
||||
|
@ -87,7 +87,7 @@ class SaoServlet(BaseServlet):
|
||||
proto = "https"
|
||||
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]:
|
||||
|
Loading…
Reference in New Issue
Block a user