mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-08 23:25:51 +01:00
nitpick
This commit is contained in:
parent
637d51cba0
commit
972551e838
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<title>{{ name }}</title>
|
||||
|
||||
<link rel="icon" type="image/ico" href="{{ baseUrl }}/-/static/favicon.png"/>
|
||||
<link rel="icon" type="image/png" href="{{ baseUrl }}/-/static/favicon.png"/>
|
||||
<link rel="stylesheet" type="text/css" href="{{ baseUrl }}/-/static/main.css">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
|
@ -42,7 +42,7 @@ module.exports = function(config, auth, storage) {
|
||||
storage.get_local(function(err, packages) {
|
||||
if (err) throw err // that function shouldn't produce any
|
||||
next(template({
|
||||
name: config.web.title || 'Sinopia',
|
||||
name: config.web && config.web.title ? config.web.title : 'Sinopia',
|
||||
packages: packages.filter(allow),
|
||||
baseUrl: base,
|
||||
username: req.remote_user.name,
|
||||
|
Loading…
Reference in New Issue
Block a user