Skip to content

Commit 39cebee

Browse files
committed
Use protocol relative img src urls
1 parent 9b3db01 commit 39cebee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

angular.mediaflow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ angular.module('ng-mediaflow', [])
4747
this.url = function(id, config) {
4848
var w = config.width || ''
4949
var h = config.height || ''
50-
return 'http://' + mediaflow.host() + '/' + w + 'x' + h + '/' + id + '.jpg'
50+
return '//' + mediaflow.host() + '/' + w + 'x' + h + '/' + id + '.jpg'
5151
}
5252

5353
if (!$scope.width && !$scope.height) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-mediaflow",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "",
55
"main": "angular.mediaflow.js",
66
"scripts": {

0 commit comments

Comments
 (0)