mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-12 04:07:28 -06:00
Merge branch 'main' into media_refactor
This commit is contained in:
commit
4c294a596a
78 changed files with 1853 additions and 794 deletions
|
|
@ -44,6 +44,9 @@ func (p *processor) GetWebfingerAccount(ctx context.Context, requestedUsername s
|
|||
}
|
||||
|
||||
accountDomain := viper.GetString(config.Keys.AccountDomain)
|
||||
if accountDomain == "" {
|
||||
accountDomain = viper.GetString(config.Keys.Host)
|
||||
}
|
||||
|
||||
// return the webfinger representation
|
||||
return &apimodel.WellKnownResponse{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue