mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
Merge branch 'master' into fix-logo
This commit is contained in:
commit
4af7b88919
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ module.exports = function(config, auth, storage) {
|
|||
.replace(/ToReplaceByVersion/g, pkgJSON.version)
|
||||
.replace(/ToReplaceByTitle/g, _.get(config, 'web.title') ? config.web.title : WEB_TITLE)
|
||||
.replace(/ToReplaceByLogo/g, logoURI)
|
||||
.replace(/ToReplaceByPrimaryColor/g, _.get(config, 'web.primary_color') ? config.web.primary_color : '')
|
||||
.replace(/ToReplaceByScope/g, _.get(config, 'web.scope') ? config.web.scope : '');
|
||||
|
||||
res.setHeader('Content-Type', HEADERS.TEXT_HTML);
|
||||
|
|
Loading…
Reference in a new issue