mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-21 07:29:37 +01:00
removed trailing slash to avoid duplicate slashes
This commit is contained in:
parent
f308bfb4bf
commit
9938a6bf4b
@ -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 New Issue
Block a user