mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-21 07:29:37 +01:00
Added url config option
This commit is contained in:
parent
baa7f78e83
commit
7b4bac1874
@ -136,7 +136,7 @@ module.exports = function(config_hash) {
|
|||||||
res.send(template({
|
res.send(template({
|
||||||
name: config.title || "Sinopia",
|
name: config.title || "Sinopia",
|
||||||
packages: packages,
|
packages: packages,
|
||||||
baseUrl: req.protocol + '://' + req.get('host') + '/'
|
baseUrl: config.root || req.protocol + '://' + req.get('host') + '/'
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user