From e25426f0d49044ca7061a790c179821e4d9cbb1d Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Thu, 2 May 2013 18:14:22 +0200 Subject: [PATCH] New remote avatars URL --- lib/avatars.js | 2 +- manifest.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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"]}