From 1de356f0d3cc2a5ce06ba3ea78452c1dff34ab50 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 23 Feb 2023 11:44:59 +0100 Subject: [PATCH] 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. --- .../java/org/fdroid/fdroid/net/DownloaderFactory.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/app/src/main/java/org/fdroid/fdroid/net/DownloaderFactory.java b/app/src/main/java/org/fdroid/fdroid/net/DownloaderFactory.java index eb044446f..e081e75a1 100644 --- a/app/src/main/java/org/fdroid/fdroid/net/DownloaderFactory.java +++ b/app/src/main/java/org/fdroid/fdroid/net/DownloaderFactory.java @@ -89,13 +89,9 @@ public class DownloaderFactory extends org.fdroid.download.DownloaderFactory { } private static final List 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) ); }