include only selected IPFS Gateways #2504

I reviewed a bunch of gateways in
https://gitlab.com/fdroid/fdroidclient/-/issues/2504#note_1289737638

And these look good.  They match the standard of when we first started
adding official mirrors, but I was not able to confirm their policies are
as good as the official mirrors.  This stuff is still opt-in and beta, so
this seems like a good place to start the process.
This commit is contained in:
Hans-Christoph Steiner
2023-02-23 11:44:59 +01:00
parent 0065da204c
commit 1de356f0d3

View File

@@ -89,13 +89,9 @@ public class DownloaderFactory extends org.fdroid.download.DownloaderFactory {
}
private static final List<Mirror> IPFS_MIRRORS = Arrays.asList(
new Mirror("https://ipfs.eth.aragon.network/ipfs/", null, true),
new Mirror("https://gateway.ipfs.io/ipfs/", null, true),
new Mirror("https://ipfs.io/ipfs/", null, true),
new Mirror("https://cloudflare-ipfs.com/ipfs/", null, true),
new Mirror("https://ipfs.fleek.co/ipfs/", null, true),
new Mirror("https://gateway.pinata.cloud/ipfs/", null, true),
new Mirror("https://ipfs.filebase.io/ipfs/", null, true)
new Mirror("https://4everland.io/ipfs/", null, true),
new Mirror("https://ipfs.joaoleitao.org/ipfs/", null, true),
new Mirror("https://ipfs.jpu.jp/ipfs/", null, true)
);
}