5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 02:11:42 +00:00

Merge branch 'issue-15109' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl

This commit is contained in:
Sutty 2024-02-22 21:14:26 +00:00
commit 6482c58126

View file

@ -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