fix(ipfs): avoid redundant http redirects

gateway.ipfs.io is a legacy name which now always returns http redirect to ipfs.io (without the "gateway" subdomain). This fix avoids every HTTP request being executed twice.
This commit is contained in:
Marcin Rataj
2025-11-09 21:17:17 +01:00
parent b47aec8e40
commit eeb109abff

View File

@@ -77,7 +77,7 @@ public final class Preferences implements SharedPreferences.OnSharedPreferenceCh
private static final String TAG = "Preferences";
public static final List<String> DEFAULT_IPFS_GATEWAYS = Collections.singletonList(
"https://gateway.ipfs.io/ipfs/"
"https://ipfs.io/ipfs/"
);
private final SharedPreferences preferences;