parent
adb0b4a59a
commit
9c6dba3999
|
@ -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 New Issue