diff --git a/lib/avatars.js b/lib/avatars.js index 434913b..ff77ab7 100644 --- a/lib/avatars.js +++ b/lib/avatars.js @@ -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) { diff --git a/manifest.json b/manifest.json index 8f39b91..e7cfce7 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "Chromesoul", - "version": "0.5.3", + "version": "0.5.4", "minimum_chrome_version": "25", "manifest_version": 2, "offline_enabled": false, @@ -15,7 +15,7 @@ } }, "permissions": [ - "http://www.epitech.eu/intra/photos/", + "http://cdn.local.epitech.net/userprofil/profilview/", "storage", "notifications", {"socket": ["tcp-connect:ns-server.epita.fr:4242"]}