Skip to content

Commit 43c3e6b

Browse files
committed
FIX: multisite CDN support for site customizations
1 parent 0e0d8e7 commit 43c3e6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/site_customization.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def self.stylesheet_link_tag(key, target, content)
144144
end
145145

146146
def self.link_css_tag(href)
147-
# href = (GlobalSetting.cdn_url || "") + href
147+
href = (GlobalSetting.cdn_url || "") + "#{href}&__ws=#{Discourse.current_hostname}"
148148
%Q{<link class="custom-css" rel="stylesheet" href="#{href}" type="text/css" media="all">}.html_safe
149149
end
150150
end

0 commit comments

Comments
 (0)