mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update Webfinger, fixes #3050
This commit is contained in:
parent
469d49d832
commit
ff7ee3bd62
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ class WebfingerUrl
|
||||||
$url = Nickname::normalizeProfileUrl($url);
|
$url = Nickname::normalizeProfileUrl($url);
|
||||||
$domain = $url['domain'];
|
$domain = $url['domain'];
|
||||||
$username = $url['username'];
|
$username = $url['username'];
|
||||||
$path = "https://{$domain}/.well-known/webfinger?resource={$username}@{$domain}";
|
$path = "https://{$domain}/.well-known/webfinger?resource=acct:{$username}@{$domain}";
|
||||||
|
|
||||||
return $path;
|
return $path;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue