Skip to content

Commit

Permalink
Merge pull request #654 from poppastring/webfinger-another-format-fix
Browse files Browse the repository at this point in the history
Fixed the user url in the webfinger response.
  • Loading branch information
poppastring authored Nov 19, 2022
2 parents 61f92e0 + e8f2dfd commit fb335c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/DasBlog.Web.UI/Controllers/ActivityPubController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public ActivityPubController(IDasBlogSettings settings) : base(settings)
public ActionResult WebFinger(string resource)
{
string usersurl = new Uri(new Uri(dasBlogSettings.SiteConfiguration.MastodonServerUrl),
string.Format("users/{0}", dasBlogSettings.SiteConfiguration.MastodonAccount)).AbsoluteUri;
string.Format("users/{0}", dasBlogSettings.SiteConfiguration.MastodonAccount.Remove(0,1))).AbsoluteUri;

string accturl = new Uri(new Uri(dasBlogSettings.SiteConfiguration.MastodonServerUrl),
string.Format("{0}", dasBlogSettings.SiteConfiguration.MastodonAccount)).AbsoluteUri;
Expand Down

0 comments on commit fb335c5

Please sign in to comment.