From 43cc088fa633595000185ab281882aad09ff0c1a Mon Sep 17 00:00:00 2001 From: beu Date: Fri, 24 Jan 2025 09:45:52 +0100 Subject: [PATCH] fix api url --- core/ManiaExchange/ManiaExchangeManager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/ManiaExchange/ManiaExchangeManager.php b/core/ManiaExchange/ManiaExchangeManager.php index 05a8c009..0daff1d4 100644 --- a/core/ManiaExchange/ManiaExchangeManager.php +++ b/core/ManiaExchange/ManiaExchangeManager.php @@ -190,7 +190,7 @@ class ManiaExchangeManager implements UsageInformationAble { } // compile search URL - $url = 'https://' . $titlePrefix . ".mania.exchange/api/maps/get_map_info/multi/{$string}"; + $url = 'https://' . $titlePrefix . "/api/maps/get_map_info/multi/{$string}"; /*if ($key = $this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_MX_KEY)) { $url .= "&key=" . $key; @@ -300,7 +300,7 @@ class ManiaExchangeManager implements UsageInformationAble { } // compile search URL - $url = 'https://' . $titlePrefix . '.mania.exchange/' . 'api/maps/get_map_info/multi/' . $mapId; + $url = 'https://' . $titlePrefix . '/api/maps/get_map_info/multi/' . $mapId; /*if ($key = $this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_MX_KEY)) { $url .= "&key=" . $key;