mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 00:42:25 -05:00
allow different host + accountDomain (#103)
* allow different host + accountDomain * use accountDomain in tags
This commit is contained in:
parent
677490bc4e
commit
b1a4f38e38
7 changed files with 46 additions and 13 deletions
|
|
@ -304,7 +304,7 @@ func (p *processor) GetWebfingerAccount(ctx context.Context, requestedUsername s
|
|||
|
||||
// return the webfinger representation
|
||||
return &apimodel.WellKnownResponse{
|
||||
Subject: fmt.Sprintf("acct:%s@%s", requestedAccount.Username, p.config.Host),
|
||||
Subject: fmt.Sprintf("acct:%s@%s", requestedAccount.Username, p.config.AccountDomain),
|
||||
Aliases: []string{
|
||||
requestedAccount.URI,
|
||||
requestedAccount.URL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue