mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-02-17 04:00:39 +01:00
[bugfix] Use Host domain for UA (#1156)
In d6f4d196c978d81041ea99a32e2d6f63b0639472 we swapped to use the AccountDomain but that actually goes against the intent of the change. This reverts that change and uses the host domain again.
This commit is contained in:
parent
c5ae88c51b
commit
c534230600
@ -59,7 +59,7 @@ type controller struct {
|
||||
// NewController returns an implementation of the Controller interface for creating new transports
|
||||
func NewController(db db.DB, federatingDB federatingdb.DB, clock pub.Clock, client pub.HttpClient) Controller {
|
||||
applicationName := config.GetApplicationName()
|
||||
host := config.GetAccountDomain()
|
||||
host := config.GetHost()
|
||||
proto := config.GetProtocol()
|
||||
version := config.GetSoftwareVersion()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user