mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
FIX: extracted theme JavaScripts for multisite (#6502)
* FIX: extracted theme javascripts for multisite * onceoff to rebake all theme fields
This commit is contained in:
@ -7,7 +7,7 @@ class JavascriptCache < ActiveRecord::Base
|
||||
before_save :update_digest
|
||||
|
||||
def url
|
||||
"#{GlobalSetting.cdn_url}#{GlobalSetting.relative_url_root}/theme-javascripts/#{digest}.js"
|
||||
"#{GlobalSetting.cdn_url}#{GlobalSetting.relative_url_root}/theme-javascripts/#{digest}.js?__ws=#{Discourse.current_hostname}"
|
||||
end
|
||||
|
||||
private
|
||||
|
Reference in New Issue
Block a user