0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-27 22:59:51 -05:00

Removed 'root' config parameter

This commit is contained in:
Brian Peacock 2014-05-13 17:12:21 -05:00
parent abacb64479
commit 490b04f298
2 changed files with 1 additions and 2 deletions

View file

@ -2,7 +2,6 @@
storage: ./storage
title: Sinopia
# root: http://my.custom.domain.com
# logo: logo.png
# a list of other known repositories we can talk to

View file

@ -138,7 +138,7 @@ module.exports = function(config_hash) {
res.send(template({
name: config.title || "Sinopia",
packages: packages,
baseUrl: config.root || req.protocol + '://' + req.get('host') + '/'
baseUrl: config.url_prefix || req.protocol + '://' + req.get('host') + '/'
}));
});
});