Browse Source

revert and add empty line

pull/5165/head
rajatchauhanyti 3 years ago
parent
commit
8a15fc1b37
1 changed files with 5 additions and 0 deletions
  1. 5
      server/graph/resolvers/site.js

5
server/graph/resolvers/site.js

@ -45,18 +45,23 @@ module.exports = {
}
WIKI.config.host = siteHost
}
if (args.hasOwnProperty('title')) {
WIKI.config.title = _.trim(args.title)
}
if (args.hasOwnProperty('company')) {
WIKI.config.company = _.trim(args.company)
}
if (args.hasOwnProperty('contentLicense')) {
WIKI.config.contentLicense = args.contentLicense
}
if (args.hasOwnProperty('logoUrl')) {
WIKI.config.logoUrl = _.trim(args.logoUrl)
}
WIKI.config.seo = {
description: _.get(args, 'description', WIKI.config.seo.description),
robots: _.get(args, 'robots', WIKI.config.seo.robots),

Loading…
Cancel
Save