[backend/federation] Return user aliases in webfinger response
This commit is contained in:
parent
b37f02846b
commit
7b550fe81b
1 changed files with 4 additions and 0 deletions
|
@ -82,6 +82,10 @@ public class WellKnownController(IOptions<Config.InstanceSection> config, Databa
|
||||||
Rel = "http://ostatus.org/schema/1.0/subscribe",
|
Rel = "http://ostatus.org/schema/1.0/subscribe",
|
||||||
Template = $"https://{config.Value.WebDomain}/authorize-follow?acct={{uri}}"
|
Template = $"https://{config.Value.WebDomain}/authorize-follow?acct={{uri}}"
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
Aliases = [
|
||||||
|
user.GetPublicUrl(config.Value),
|
||||||
|
user.GetPublicUri(config.Value)
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue