feat: unsaved changes prompt + beta preparations UI
This commit is contained in:
@@ -31,7 +31,8 @@ module.exports = {
|
||||
WIKI.config.seo = {
|
||||
description: args.description,
|
||||
robots: args.robots,
|
||||
ga: args.ga
|
||||
analyticsService: args.analyticsService,
|
||||
analyticsId: args.analyticsId
|
||||
}
|
||||
WIKI.config.logo = {
|
||||
hasLogo: args.hasLogo,
|
||||
|
@@ -28,7 +28,8 @@ type SiteMutation {
|
||||
title: String!
|
||||
description: String!
|
||||
robots: [String]!
|
||||
ga: String!
|
||||
analyticsService: String!
|
||||
analyticsId: String!
|
||||
company: String!
|
||||
hasLogo: Boolean!
|
||||
logoIsSquare: Boolean!
|
||||
@@ -47,7 +48,8 @@ type SiteConfig {
|
||||
title: String!
|
||||
description: String!
|
||||
robots: [String]!
|
||||
ga: String!
|
||||
analyticsService: String!
|
||||
analyticsId: String!
|
||||
company: String!
|
||||
hasLogo: Boolean!
|
||||
logoIsSquare: Boolean!
|
||||
|
@@ -140,7 +140,8 @@ module.exports = () => {
|
||||
_.set(WIKI.config, 'seo', {
|
||||
description: '',
|
||||
robots: ['index', 'follow'],
|
||||
ga: ''
|
||||
analyticsService: '',
|
||||
analyticsId: ''
|
||||
})
|
||||
_.set(WIKI.config, 'sessionSecret', (await crypto.randomBytesAsync(32)).toString('hex'))
|
||||
_.set(WIKI.config, 'telemetry', {
|
||||
|
Reference in New Issue
Block a user