From f308bfb4bfdab0481ec565595133f36783bc8fe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Facundo=20Chamb=C3=B3?= Date: Fri, 17 Oct 2014 12:25:55 -0300 Subject: [PATCH 1/4] added url_prefix to static resources --- lib/GUI/index.hbs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/GUI/index.hbs b/lib/GUI/index.hbs index 3483b68e..f7c7024c 100644 --- a/lib/GUI/index.hbs +++ b/lib/GUI/index.hbs @@ -4,8 +4,8 @@ {{ name }} - - + + @@ -59,7 +59,7 @@
- - + + From 9938a6bf4b67262a2192ccbd179a97273c0c4412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Facundo=20Chamb=C3=B3?= Date: Sun, 19 Oct 2014 22:03:40 -0300 Subject: [PATCH 2/4] removed trailing slash to avoid duplicate slashes --- lib/index-web.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index-web.js b/lib/index-web.js index e98807a5..fc9d74c4 100644 --- a/lib/index-web.js +++ b/lib/index-web.js @@ -17,7 +17,7 @@ module.exports = function(app, config, storage) { res.send(template({ name: config.web.title || "Sinopia", packages: packages, - baseUrl: config.url_prefix || req.protocol + '://' + req.get('host') + '/' + baseUrl: config.url_prefix || req.protocol + '://' + req.get('host') })); }); }); From 8628c34b2500997a2cc3cfd8fefde74daf7030d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Facundo=20Chamb=C3=B3?= Date: Sun, 19 Oct 2014 22:34:57 -0300 Subject: [PATCH 3/4] fixed npm image url --- lib/GUI/index.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/GUI/index.hbs b/lib/GUI/index.hbs index f7c7024c..98a2089d 100644 --- a/lib/GUI/index.hbs +++ b/lib/GUI/index.hbs @@ -13,7 +13,7 @@