mirror of
https://github.com/discourse/discourse.git
synced 2025-03-21 09:15:47 +08:00
FIX: CDN_URL hostname should be in GlobalSetting.hostnames
This commit is contained in:
parent
b01a4c0ada
commit
976d6b290c
@ -117,6 +117,8 @@ class GlobalSetting
|
||||
hostnames = [ hostname ]
|
||||
hostnames << backup_hostname if backup_hostname.present?
|
||||
|
||||
hostnames << URI.parse(cdn_url).host if cdn_url.present?
|
||||
|
||||
hash["host_names"] = hostnames
|
||||
hash["database"] = db_name
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user