mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 09:51:13 +01:00
This commit is contained in:
parent
79b34a0fa2
commit
45afdf1781
1 changed files with 1 additions and 1 deletions
|
@ -6,6 +6,6 @@ module InstanceHelper
|
|||
end
|
||||
|
||||
def site_hostname
|
||||
Rails.configuration.x.local_domain
|
||||
@site_hostname ||= Addressable::URI.parse("//#{Rails.configuration.x.local_domain}").display_uri.host
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue