Browse Source

feat: 更新默认站点名称为 'My Small Site'

acas
npmrun 2 weeks ago
parent
commit
a898716b39
  1. 2
      app/composables/useGlobalConfig.ts
  2. 2
      server/service/config/registry.ts

2
app/composables/useGlobalConfig.ts

@ -10,7 +10,7 @@ type GlobalConfigResult = {
}
const DEFAULT_GLOBAL_CONFIG: GlobalConfig = {
siteName: 'Person Panel',
siteName: 'My Small Site',
allowRegister: true,
}

2
server/service/config/registry.ts

@ -28,7 +28,7 @@ const CONFIG_REGISTRY = {
key: "siteName",
scope: "global",
valueType: "string",
defaultValue: "Person Panel",
defaultValue: "My Small Site",
userOverridable: false,
validate: (value: string) => value.length <= 64,
}),

Loading…
Cancel
Save