Merge pull request #765 from kurros/imgurhttps

Imgurhttps
This commit is contained in:
Lorenz Hübschle-Schneider 2016-04-01 09:30:48 +02:00
commit 53d8b2cee2

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 {