mirror of
https://github.com/f-droid/fdroidclient.git
synced 2025-12-23 23:27:44 -05:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user