New remote avatars URL

This commit is contained in:
Rodolphe Breard 2013-05-02 18:14:22 +02:00
parent 8d7cbe9073
commit e25426f0d4
2 changed files with 3 additions and 3 deletions

View file

@ -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) {