New remote avatars URL
This commit is contained in:
parent
8d7cbe9073
commit
e25426f0d4
2 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ var AvatarManager = function() {
|
|||
AvatarManager.prototype.getContactPic = function(name, callback) {
|
||||
var xhr = new XMLHttpRequest();
|
||||
|
||||
xhr.open("GET", "http://www.epitech.eu/intra/photos/" + name + ".jpg", true);
|
||||
xhr.open("GET", "http://cdn.local.epitech.net/userprofil/profilview/" + name + ".jpg", true);
|
||||
xhr.responseType = "blob";
|
||||
xhr.onload = (function(elem) {
|
||||
return function(e) {
|
||||
|
|
Reference in a new issue