OPENIDE fix download RegionUrlMapper

This commit is contained in:
Nikita Iarychenko
2025-02-05 18:28:34 +04:00
parent 2beb3b015d
commit 75fc4540dd

View File

@@ -148,8 +148,7 @@ public final class RegionUrlMapper {
private static @NotNull RegionMapping doLoadMappingOrThrow(@NotNull Region reg) throws IOException { private static @NotNull RegionMapping doLoadMappingOrThrow(@NotNull Region reg) throws IOException {
String configUrl = getConfigUrl(reg); String configUrl = getConfigUrl(reg);
try { try {
String json = HttpRequests.request(configUrl).readString(); return RegionMapping.empty();
return RegionMapping.fromJson(json);
} }
catch (Throwable e) { catch (Throwable e) {
LOG.info("Failed to load region-specific url mappings : " + e.getMessage()); LOG.info("Failed to load region-specific url mappings : " + e.getMessage());