From 6ed80ecbab82b6556ceeb099eaa65195853b914c Mon Sep 17 00:00:00 2001 From: Hay1tsme Date: Mon, 22 Jan 2024 15:49:06 -0500 Subject: [PATCH] fix ongeki and sao --- titles/ongeki/index.py | 4 ++-- titles/sao/index.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/titles/ongeki/index.py b/titles/ongeki/index.py index b217b2e..a8504a3 100644 --- a/titles/ongeki/index.py +++ b/titles/ongeki/index.py @@ -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}/", ) diff --git a/titles/sao/index.py b/titles/sao/index.py index e12dcbb..1f68c43 100644 --- a/titles/sao/index.py +++ b/titles/sao/index.py @@ -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]: