mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 15:51:05 +08:00
FIX: Category images were not using the CDN
This commit is contained in:
@ -6,6 +6,8 @@ window.Discourse = Ember.Application.createWithMixins(Discourse.Ajax, {
|
||||
_docTitle: document.title,
|
||||
|
||||
getURL: function(url) {
|
||||
if (!url) { return url; }
|
||||
|
||||
// If it's a non relative URL, return it.
|
||||
if (url.indexOf('http') === 0) return url;
|
||||
|
||||
|
Reference in New Issue
Block a user