5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 03:31:41 +00:00

fix: no cambiar el nombre de dominio #14746

This commit is contained in:
f 2023-12-04 17:50:53 -03:00
parent b96363a59f
commit 89063d50c0
No known key found for this signature in database

View file

@ -501,8 +501,8 @@ class Site < ApplicationRecord
config.theme = design.gem unless design.no_theme?
config.description = description
config.title = title
config.url = url(slash: false)
config.hostname = hostname
config.url ||= url(slash: false)
config.hostname ||= hostname
config.locales = locales.map(&:to_s)
end