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:
parent
abacb64479
commit
490b04f298
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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') + '/'
|
||||
}));
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue