From ce8f8f8ecc6ed438718d4080403a764463ff9131 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Thu, 7 Jan 2016 16:58:19 -0300 Subject: [PATCH] Access myprofile from backend --- gulp/server.js | 6 +++++- src/app/components/noosfero-blocks/profile-image/profile-image.html | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gulp/server.js b/gulp/server.js index b4b6a64..efe8beb 100644 --- a/gulp/server.js +++ b/gulp/server.js @@ -26,7 +26,11 @@ function browserSyncInit(baseDir, browser) { routes: routes }; - server.middleware = proxyMiddleware('http://localhost:3000/api', {changeOrigin:true}); + server.middleware = [proxyMiddleware('http://localhost:3000/api', {changeOrigin:true}), + proxyMiddleware('http://localhost:3000/myprofile', {changeOrigin:true}), + proxyMiddleware('http://localhost:3000/designs', {changeOrigin:true}), + proxyMiddleware('http://localhost:3000/images', {changeOrigin:true}), + proxyMiddleware('http://localhost:3000/assets', {changeOrigin:true})]; browserSync.instance = browserSync.init({ startPath: '/', diff --git a/src/app/components/noosfero-blocks/profile-image/profile-image.html b/src/app/components/noosfero-blocks/profile-image/profile-image.html index 31d6ddb..978e80c 100644 --- a/src/app/components/noosfero-blocks/profile-image/profile-image.html +++ b/src/app/components/noosfero-blocks/profile-image/profile-image.html @@ -1,3 +1,6 @@
+ -- libgit2 0.21.2