0
Fork 0
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:
Facundo Chambó 2014-10-19 22:03:40 -03:00
parent f308bfb4bf
commit 9938a6bf4b

View file

@ -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')
}));
});
});