Revert "Nodeinfo is not universally implemented"
This reverts commit b87ec49972.
This commit is contained in:
parent
0f667761a9
commit
0fe03fc4ee
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ defmodule Pleroma.Workers.ReachabilityWorker do
|
|||
|
||||
@impl true
|
||||
def perform(%Oban.Job{args: %{"domain" => domain}}) do
|
||||
case HTTP.get("https://#{domain}/") do
|
||||
case HTTP.get("https://#{domain}/.well-known/nodeinfo") do
|
||||
{:ok, %{status: status}} when status in 200..299 ->
|
||||
Instances.set_reachable("https://#{domain}")
|
||||
:ok
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue