From 38d977e54612e0cfbe69aae47c656f1cada037c6 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 1 Apr 2022 09:50:12 +0000 Subject: fixes in regard to hub re-installs: dismiss deleted hublocs, make sure we use the latest hubloc entry for addressing, in Queue::deliver() prefer primaries since their info is probably more accurate --- Zotlabs/Module/Zot_probe.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Zotlabs/Module/Zot_probe.php') diff --git a/Zotlabs/Module/Zot_probe.php b/Zotlabs/Module/Zot_probe.php index 7585affdf..bdd9506eb 100644 --- a/Zotlabs/Module/Zot_probe.php +++ b/Zotlabs/Module/Zot_probe.php @@ -8,21 +8,21 @@ use Zotlabs\Web\HTTPSig; class Zot_probe extends \Zotlabs\Web\Controller { function get() { - + $o .= '

Zot6 Probe Diagnostic

'; - + $o .= '
'; $o .= 'Lookup URI:
'; - $o .= '
'; - + $o .= ''; + $o .= '

'; - + if(x($_GET,'addr')) { $addr = $_GET['addr']; $x = Zotfinger::exec($addr); - + $o .= '
' . htmlspecialchars(print_array($x)) . '
'; $headers = 'Accept: application/x-zot+json, application/jrd+json, application/json'; @@ -38,10 +38,10 @@ class Zot_probe extends \Zotlabs\Web\Controller { $o .= '
' . htmlspecialchars(json_encode(json_decode($x['body']),JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES)) . '
' . EOL; - } + } } return $o; } - + } -- cgit v1.2.3