Modify Imgur's link response to HTTPS.

This commit is contained in:
Wade Menard 2016-03-31 18:44:38 -04:00
parent 5e1dfbf8f0
commit d636fbaae8
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ weechat.factory('imgur', ['$rootScope', function($rootScope) {
if( response.data && response.data.link ) {
if (callback && typeof(callback) === "function") {
callback(response.data.link);
callback(response.data.link.replace(/^http:/, "https:"));
}
} else {