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

Merge branch 'issue-14746' into 'rails'
All checks were successful
ci/woodpecker/push/woodpecker/1 Pipeline was successful
ci/woodpecker/push/woodpecker/2 Pipeline was successful

fix: no cambiar el nombre de dominio #14746

See merge request sutty/sutty!229
This commit is contained in:
Elihu 2023-12-21 14:40:54 +00:00
commit a173b1356f

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