mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-25 06:11:20 -04:00
FIX: multisite CDN support for site customizations
This commit is contained in:
parent
0e0d8e79df
commit
43c3e6b47f
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ class SiteCustomization < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def self.link_css_tag(href)
|
||||
# href = (GlobalSetting.cdn_url || "") + href
|
||||
href = (GlobalSetting.cdn_url || "") + "#{href}&__ws=#{Discourse.current_hostname}"
|
||||
%Q{<link class="custom-css" rel="stylesheet" href="#{href}" type="text/css" media="all">}.html_safe
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue