mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
removed trailing slash to avoid duplicate slashes
This commit is contained in:
parent
f308bfb4bf
commit
9938a6bf4b
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
}));
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue