fix the build...
This commit is contained in:
parent
14dc22f288
commit
07d5d8faac
|
@ -128,7 +128,9 @@ module PrettyText
|
|||
context.eval("Discourse.SiteSettings = #{SiteSetting.client_settings_json};")
|
||||
context.eval("Discourse.CDN = '#{Rails.configuration.action_controller.asset_host}';")
|
||||
context.eval("Discourse.BaseUrl = 'http://#{RailsMultisite::ConnectionManagement.current_hostname}';")
|
||||
context.eval("Discourse.getURL = function(url) {return '#{Discourse::base_uri}' + url};")
|
||||
|
||||
context.eval("Discourse.getURL = function(url) { return '#{Discourse::base_uri}' + url };")
|
||||
context.eval("Discourse.getURLWithCDN = function(url) { url = Discourse.getURL(url); if (Discourse.CDN) { url = Discourse.CDN + url; } return url; };")
|
||||
end
|
||||
|
||||
def self.markdown(text, opts=nil)
|
||||
|
|
Loading…
Reference in New Issue