From e769404e16d132c8f00fa4ad51cee6a7cbf43d43 Mon Sep 17 00:00:00 2001 From: Midorica Date: Thu, 9 Nov 2023 00:06:15 -0500 Subject: [PATCH] fixing TLS support for ongeki --- titles/ongeki/index.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/titles/ongeki/index.py b/titles/ongeki/index.py index bdfd8d5..5f318b6 100644 --- a/titles/ongeki/index.py +++ b/titles/ongeki/index.py @@ -128,10 +128,11 @@ class OngekiServlet(BaseServlet): def get_allnet_info(self, game_code: str, game_ver: int, keychip: str) -> Tuple[str, str]: title_port_int = Utils.get_title_port(self.core_cfg) + title_port_ssl_int = Utils.get_title_port_ssl(self.core_cfg) proto = "https" if self.game_cfg.server.use_https and game_ver >= 120 else "http" if proto == "https": - t_port = f":{title_port_int}" if title_port_int != 443 and not self.core_cfg.server.is_using_proxy else "" + t_port = f":{title_port_ssl_int}" if title_port_ssl_int != 443 and not self.core_cfg.server.is_using_proxy else "" else: t_port = f":{title_port_int}" if title_port_int != 80 and not self.core_cfg.server.is_using_proxy else ""