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) {
|
AvatarManager.prototype.getContactPic = function(name, callback) {
|
||||||
var xhr = new XMLHttpRequest();
|
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.responseType = "blob";
|
||||||
xhr.onload = (function(elem) {
|
xhr.onload = (function(elem) {
|
||||||
return function(e) {
|
return function(e) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "Chromesoul",
|
"name": "Chromesoul",
|
||||||
"version": "0.5.3",
|
"version": "0.5.4",
|
||||||
"minimum_chrome_version": "25",
|
"minimum_chrome_version": "25",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"offline_enabled": false,
|
"offline_enabled": false,
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"http://www.epitech.eu/intra/photos/",
|
"http://cdn.local.epitech.net/userprofil/profilview/",
|
||||||
"storage",
|
"storage",
|
||||||
"notifications",
|
"notifications",
|
||||||
{"socket": ["tcp-connect:ns-server.epita.fr:4242"]}
|
{"socket": ["tcp-connect:ns-server.epita.fr:4242"]}
|
||||||
|
|
Reference in a new issue