logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/
commit: 8383584d692f56dfdd4b88d328d5d54962f82ed1
parent 2748891e124ede3619cb2a77e27b83fbb8a724f8
Author: Mark Felder <feld@feld.me>
Date:   Sat,  7 Jun 2025 14:57:34 -0700

Reapply "Nodeinfo is not universally implemented"

This reverts commit 0fe03fc4eef0159e3015d68d75ec42ea11f649cf.

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