logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/
commit: b87ec4997244fc23d803948eccc778a603cf566f
parent 3d422ef3256e9eeef79d0c78743e19d8435dc352
Author: Mark Felder <feld@feld.me>
Date:   Fri,  6 Jun 2025 12:55:21 -0700

Nodeinfo is not universally implemented

Diffstat:

Mlib/pleroma/workers/reachability_worker.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pleroma/workers/reachability_worker.ex b/lib/pleroma/workers/reachability_worker.ex @@ -13,7 +13,7 @@ defmodule Pleroma.Workers.ReachabilityWorker do @impl true def perform(%Oban.Job{args: %{"domain" => domain}}) do - case HTTP.get("https://#{domain}/.well-known/nodeinfo") do + case HTTP.get("https://#{domain}/") do {:ok, %{status: status}} when status in 200..299 -> Instances.set_reachable("https://#{domain}") :ok