diff --git a/lib/GUI/index.handlebars b/lib/GUI/index.handlebars index 4e96f519c..caea22874 100644 --- a/lib/GUI/index.handlebars +++ b/lib/GUI/index.handlebars @@ -5,10 +5,18 @@ {{ name }} -

{{ name }}

+

{{ name }}

- - +
+ + +
+ +

Setup:

+ + npm set registry {{ baseUrl }}
+ npm adduser --registry {{ baseUrl }} +
{{#each locals}}
diff --git a/lib/index.js b/lib/index.js index 1ef03d48c..5ca651ed5 100644 --- a/lib/index.js +++ b/lib/index.js @@ -139,8 +139,9 @@ module.exports = function(config_hash) { } else { res.send(template({ - name: "Sinopia", - locals: locals + name: "Sinopia", + locals: locals, + baseUrl: req.protocol + '://' + req.get('host') + '/' })); } })