Skip to content

Commit

Permalink
fix: lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
juanpicado committed Jul 27, 2017
1 parent b1a396d commit d0afe78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/web/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports = function(config, auth, storage) {
const defaultTitle = 'Verdaccio';
let webPage = template
.replace(/ToReplaceByVerdaccio/g, base)
.replace(/ToReplaceByTitle/g, _.isNil(config.web.title) ? defaultTitle : config.web.title)
.replace(/ToReplaceByTitle/g, _.isNil(config.web.title) ? defaultTitle : config.web.title)
.replace(/(main.*\.js|style.*\.css)/g, `${base}/-/static/$1`);

res.setHeader('Content-Type', 'text/html');
Expand Down

0 comments on commit d0afe78

Please sign in to comment.