From c1412ca9a88ffa21650f4c9132f1a3c732680c35 Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Sun, 10 Dec 2023 17:27:50 -0500 Subject: [PATCH] sao: fix title server port --- titles/sao/index.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/titles/sao/index.py b/titles/sao/index.py index b70f02a..1607aa1 100644 --- a/titles/sao/index.py +++ b/titles/sao/index.py @@ -76,13 +76,13 @@ class SaoServlet(BaseServlet): return True def get_allnet_info(self, game_code: str, game_ver: int, keychip: str) -> Tuple[str, str]: - if not self.core_cfg.server.is_using_proxy and Utils.get_title_port_ssl(self.core_cfg): + if not self.core_cfg.server.is_using_proxy and Utils.get_title_port_ssl(self.core_cfg) != 443: return ( - f"https://{self.core_cfg.title.hostname}:{self.core_cfg.title.port_ssl}/", + f"https://{self.core_cfg.title.hostname}:{Utils.get_title_port_ssl(self.core_cfg)}/", f"{self.core_cfg.title.hostname}/", ) - return (f"http://{self.core_cfg.title.hostname}:{self.core_cfg.title.port}/", "") + return (f"http://{self.core_cfg.title.hostname}:{Utils.get_title_port(self.core_cfg)}/", "") def get_mucha_info(self, core_cfg: CoreConfig, cfg_dir: str) -> Tuple[bool, str]: if not self.game_cfg.server.enable: