mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 02:51:42 +00:00
Merge branch 'issue-15109' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl
This commit is contained in:
commit
6482c58126
1 changed files with 4 additions and 1 deletions
|
@ -67,9 +67,12 @@ class SocialInbox
|
|||
end
|
||||
end
|
||||
|
||||
# El hostname puede estar en varios lados...
|
||||
#
|
||||
# @return [String]
|
||||
def hostname
|
||||
@hostname ||=
|
||||
site.config.dig('activity_pub', 'hostname') || site.hostname
|
||||
site.config.dig('activity_pub', 'hostname') || site.config['hostname'] || site.hostname
|
||||
end
|
||||
|
||||
# Genera una URI dentro de este sitio
|
||||
|
|
Loading…
Reference in a new issue