Securing cors

This commit is contained in:
Kasper Rynning-Tønnesen
2015-11-28 18:23:43 +01:00
parent 9bc89fd824
commit 05d57a5b7b
3 changed files with 4 additions and 4 deletions

View File

@@ -158,7 +158,7 @@ var Youtube = {
};
img.crossOrigin = 'Anonymous';
img.src = 'https://zoff.no:8080/http://img.youtube.com/vi/'+id+'/mqdefault.jpg';
img.src = 'https://zoff.no:8080/https://img.youtube.com/vi/'+id+'/mqdefault.jpg';
}
},